{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"AndCodeAppKt.AndCodeApp (cyclomatic 85): AndCodeAppKt.AndCodeApp has cyclomatic complexity 85 (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":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"14181dd27c80c7a6422007c8e796c9015d17de81b6567773ad4c19f5064acfa1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatHomeScreenKt.ChatHomeScreen (cyclomatic 66): ChatHomeScreenKt.ChatHomeScreen has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"399ecd6d624fa7c56646e2d43188b2ed494253720c162c1ec51d68189ae23df6"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.handleEvent (cyclomatic 55): ChatViewModel.handleEvent has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8a3b508ccfab5fd02736ee532e8ac29142888a55560ed02f07ad31d310dad7"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidSetupScreenKt.AndroidSetupScreen (cyclomatic 51): AndroidSetupScreenKt.AndroidSetupScreen has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ae2a65534a79ddeb19ec7e66b70e422333ec7fdf259a25911a4d8cb9620fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.sendMessage (cyclomatic 33): ChatViewModel.sendMessage has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c9b288a4c688d59af83261cf86a5f0d06bbc9d76277f5efcca2d6a38aa7d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatHomeScreenKt.ChatComposer (cyclomatic 31): ChatHomeScreenKt.ChatComposer 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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2e18a1276635ead04bb1041a8af929aae07c36248efa62eb2aed0dc2aaae24"}},{"ruleId":"D1","level":"warning","message":{"text":"VerifiedRuntimeDownloader.downloadLocked (cyclomatic 29): VerifiedRuntimeDownloader.downloadLocked 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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/VerifiedRuntimeDownloader.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b48827cbda270761ec57f653031f66e6a27e01092772c284baa7db7b65eef76"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatViewModel.sendSlashCommand (cyclomatic 27): ChatViewModel.sendSlashCommand has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea43969d9f2a8621ad4e7e78023f4393d6bea53fe7c71f73430be1f9627bca"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeActivityRepository.handle (cyclomatic 26): RuntimeActivityRepository.handle has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc967ad51f795382928bfbf5659d9489419c2dc6b294d84427c120702992128f"}},{"ruleId":"D1","level":"warning","message":{"text":"AndCodeVoiceSession.startEventCollection (cyclomatic 26): AndCodeVoiceSession.startEventCollection has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/AndCodeVoiceSession.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de95482e3a3563bf5a242850878b177b27d6511813ddcd2d5358d04d8686e9e"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownLite.parse (cyclomatic 26): MarkdownLite.parse has cyclomatic complexity 26 (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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/MarkdownLite.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ced7834701e783295832bd65a607b77f6e83bb99d5034c23979ddcec4e939df"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleEditorScreenKt.ScheduleEditorScreen (cyclomatic 25): ScheduleEditorScreenKt.ScheduleEditorScreen 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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"611c3dccf295087981a84c70029d3fae53397c26aa790264d873de1f4256861c"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeViewerScreenKt.CodeViewerScreen (cyclomatic 24): CodeViewerScreenKt.CodeViewerScreen 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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ae2f4f3f4708af7bb0f4a601ccc090040de7c93bf51c0719feee5d182f85a3"}},{"ruleId":"D1","level":"warning","message":{"text":"WakeWordService.startListening (cyclomatic 22): WakeWordService.startListening has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/wakeword/WakeWordService.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0110c1df12a606bfd71882a120159309b88d91d8bc38db239add8aa5709c30c"}},{"ruleId":"D1","level":"warning","message":{"text":"AnsiTerminalEmulator.sgr (cyclomatic 21): AnsiTerminalEmulator.sgr has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: AnsiTerminalEmulator.dispatchCsi (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/terminal/AnsiTerminalEmulator.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd28c6e01799c7bf557c4efe19cdb6d129e0b7261a78004f6cac532c1bab656"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeUrl.isTrustedCleartextHost (cyclomatic 19): OpenCodeUrl.isTrustedCleartextHost 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":"app/src/main/java/com/yugahashimoto/andcode/core/security/OpenCodeUrl.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f241ff5eefe9c59929af54d3cacdb24919915467fd99e56e6c7c80b110e7b8c3"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspacesScreenKt.WorkspacesScreen (cyclomatic 19): WorkspacesScreenKt.WorkspacesScreen has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"013067539cd21331af8f177f3f0cb7159ecbb141a512219fc91bd35cf90c0226"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspacesScreenKt.targetSubtitle (cyclomatic 19): WorkspacesScreenKt.targetSubtitle 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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea9e8767fc6b737b446ee47ec0b6e21dead1f397692ca4d43d99ca37bbd1777"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubStarCoordinator.refresh (cyclomatic 18): GitHubStarCoordinator.refresh 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":"app/src/main/java/com/yugahashimoto/andcode/feature/support/GitHubStarSupport.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39508c20b3d04e395244d8b1d90184e942b893be24f6db6d59a1c8066fe7b4"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeArchive.extractTar (cyclomatic 18): RuntimeArchive.extractTar has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/RuntimeArchive.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5f0fa44ea54c3043c504f06d5664f612f4ec286232065286485ab0adb90c8c"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeCatalogRepository.load (cyclomatic 16): RuntimeCatalogRepository.load 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":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f5994b3a0225dfbae7148c0cfcd7cc97aca3a97334a6d8e078d4f831f5aa8b"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidTTSProvider.speak (cyclomatic 16): AndroidTTSProvider.speak 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":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/AndroidTTSProvider.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"449cff7643f66e671b3c4b90a85e935db8675a5793d7a6bd4b9398aca4f997f4"}},{"ruleId":"D1","level":"warning","message":{"text":"SpeechRecognizerManager.startListening (cyclomatic 16): SpeechRecognizerManager.startListening has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/SpeechRecognizerManager.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7e84e11cccf8733cd4a19ec1136cdc8071f70f9ae6ef74051523808e402e16"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleBridge.applyScheduleArgs (cyclomatic 16): ScheduleBridge.applyScheduleArgs 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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleBridge.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcf7c982d319fe43ed288ecf1f5b7910699b7970589fe5a120058812eb036fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderAuthDialogKt.ProviderAuthDialog (cyclomatic 16): ProviderAuthDialogKt.ProviderAuthDialog has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ed4746afe244504206f79c17541c67bc70f49b90a57b0367a6d06fac4d0f3"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalRuntimeManagementScreenKt.AdbSetupCard (cyclomatic 16): LocalRuntimeManagementScreenKt.AdbSetupCard has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementScreen.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef1ced5f6a4411961775dde059c36efc5a27f1d938af254d296fe762c7bad82"}},{"ruleId":"D2","level":"warning","message":{"text":"AndCodeAppKt.AndCodeApp (cognitive 106): AndCodeAppKt.AndCodeApp has cognitive complexity 106 (threshold 15). Drivers by points: if/else 70 (84 pts), boolean chains 10, match/switch 6 (9 pts), loops 2 (3 pts) (nesting depth added 18). 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":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed71f3b25885b4cd20ff7d149500af2839608e2db1989186ff0582f0d014d732"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatHomeScreenKt.ChatHomeScreen (cognitive 80): ChatHomeScreenKt.ChatHomeScreen has cognitive complexity 80 (threshold 15). Drivers by points: if/else 41 (56 pts), boolean chains 19, match/switch 3 (4 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00cea74b88c19eff7b31d7704f9fb1f441af968b659103ad6598c8d342b7e65"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.handleEvent (cognitive 73): ChatViewModel.handleEvent has cognitive complexity 73 (threshold 15). Drivers by points: if/else 27 (53 pts), boolean chains 10, match/switch 5 (10 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ff302bdd091d8f769c62ead86b49d0bbcf5d022172bd588adacf7d156ba28c"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidSetupScreenKt.AndroidSetupScreen (cognitive 66): AndroidSetupScreenKt.AndroidSetupScreen has cognitive complexity 66 (threshold 15). Drivers by points: if/else 30 (42 pts), boolean chains 22, match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe88536399dfdf224998eec5446bfe836714ba877943a5ca52abd61eaeff81"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeViewerScreenKt.CodeViewerScreen (cognitive 54): CodeViewerScreenKt.CodeViewerScreen has cognitive complexity 54 (threshold 15). Drivers by points: if/else 30 (50 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ce413b5bbd10354e7f97da1c63dc454447eade95479c61cead0bcb42a9892e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatHomeScreenKt.ChatComposer (cognitive 42): ChatHomeScreenKt.ChatComposer has cognitive complexity 42 (threshold 15). Drivers by points: if/else 33 (37 pts), boolean chains 5 (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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f817aad2b37726a206e3918334b00cac563686d9fb1ba261f129f595174645"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.sendMessage (cognitive 39): ChatViewModel.sendMessage has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 12, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a273ec8c72ee17b46376a3520a5b31b76410c64e201bb3caeef6bc159ef7d"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifiedRuntimeDownloader.downloadLocked (cognitive 37): VerifiedRuntimeDownloader.downloadLocked has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 11, error handling 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/VerifiedRuntimeDownloader.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff379b2eee6c945b685a60d919422827658d4c3d4c17b8b6bee28260f01a450"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatViewModel.sendSlashCommand (cognitive 33): ChatViewModel.sendSlashCommand has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 10, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"862755cb4613ef64423dbb1274cfbed3f0689a037983d756cadae82af4452644"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleEditorScreenKt.ScheduleEditorScreen (cognitive 31): ScheduleEditorScreenKt.ScheduleEditorScreen has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 3, match/switch 2 (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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a8c99c78bc9c104990518c3b37b517f08c7937c72c456cc74a22ec30d6180a"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownLite.parse (cognitive 30): MarkdownLite.parse has cognitive complexity 30 (threshold 15). Drivers by points: loops 6 (16 pts), boolean chains 10, if/else 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/MarkdownLite.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4767742b250384b7bef207d3e95a4b81fcf18420ca4e54657aca77f573bc1a74"}},{"ruleId":"D2","level":"warning","message":{"text":"Field.parse (cognitive 29): Field.parse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleModels.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc0d7ecc0fafdb7b54b7af4c95831cdd32ebb32c0e9d32cc289e18ba931141f"}},{"ruleId":"D2","level":"warning","message":{"text":"WakeWordService.startListening (cognitive 26): WakeWordService.startListening has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2, error handling 2, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/wakeword/WakeWordService.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae77de9592e928caa10f277ba7e680ae4065c3b4af40d63867ce4ae16451c097"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeActivityRepository.handle (cognitive 24): RuntimeActivityRepository.handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"8385685d88a4a1226b4dd0057a0b6a1c6c3d34af3bd1cf65f19f4f96e2a63ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"AndCodeVoiceSession.startEventCollection (cognitive 24): AndCodeVoiceSession.startEventCollection has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/AndCodeVoiceSession.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"419ea1478dcbe4eacb06aa67e0e9742467bf1a00db668acae0fc7dc1ba585668"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleBridge.applyScheduleArgs (cognitive 24): ScheduleBridge.applyScheduleArgs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleBridge.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f9d90ae8ed7e676dc0a0ac88bc4c872e0fb7ff0b68adddc02f73544b8dd189"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubStarCoordinator.refresh (cognitive 23): GitHubStarCoordinator.refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 7 (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":"app/src/main/java/com/yugahashimoto/andcode/feature/support/GitHubStarSupport.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5adaafb3ab21ec1f25c2f058a4a02048b2ed11dec9a7156aebbdffa0798779"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsScreenV2Kt.SettingsScreenV2 (cognitive 21): SettingsScreenV2Kt.SettingsScreenV2 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. 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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e7c37505fbcff48768a33312f4804a150f6a0eed03c61dac9007f6eaacab1a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspacesScreenKt.WorkspacesScreen (cognitive 21): WorkspacesScreenKt.WorkspacesScreen has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"df18f58e99e6ceeef0b3ffeed5795743f651ac318d406a74b98b781f2821f378"}},{"ruleId":"D2","level":"warning","message":{"text":"AndCodeAppKt.GithubCloneDialog (cognitive 20): AndCodeAppKt.GithubCloneDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64ace36c653fedf2516ce60db0ff008e931e2462d1192ca8a1c9ef97b830b1f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowExtKt.debounceFalseEdge (cognitive 19): FlowExtKt.debounceFalseEdge has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/util/FlowExt.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb2cc8fd766c666dd57a36c1b9b686a848c85220eba4518e6b96ea8f9aeb533"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeCatalogRepository.load (cognitive 19): RuntimeCatalogRepository.load has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5 (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":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"06650a9978305500c66c513d676d630669b5b0b2ee57264304656617119e6af6"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeCatalogRepository.refreshAgents (cognitive 18): RuntimeCatalogRepository.refreshAgents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad1a6aeaea1147d25c0b9b02cebd06801884c4a22546517da38331bd6aaf23b"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidTTSProvider.speak (cognitive 18): AndroidTTSProvider.speak has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/AndroidTTSProvider.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6eb275b04847c33bd67d3662df8de84d39b3f5ff889195b9e76994596ff8b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelAndRuntimePickerSheetKt.ModelAndRuntimePickerSheet (cognitive 18): ModelAndRuntimePickerSheetKt.ModelAndRuntimePickerSheet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aa4afe7429d515fb03d2cf5ac8f919c125826f2c4378b5aceb141043112045"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderAuthDialogKt.ProviderAuthDialog (cognitive 18): ProviderAuthDialogKt.ProviderAuthDialog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7ae0df57f2797412a2fa2cc1854007605cf9129e7ecae968b003c0d08769a9"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteConnectionScreenKt.RemoteConnectionScreen (cognitive 18): RemoteConnectionScreenKt.RemoteConnectionScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d81f5c35f4aaf64748377db89fab9f4826dab3155b8fe7459ce533b86546d"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeArchive.extractTar (cognitive 18): RuntimeArchive.extractTar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/RuntimeArchive.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae25685402b33ee46dd4839f0dc1cb46a699b18b37153b4c71ba0094a228169"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeV2ApiClient.singleEventStream (cognitive 17): OpenCodeV2ApiClient.singleEventStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca683817db935d1d3877ce3d8bad43967e15891d27244c811c0cb5f4dcd226a5"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeActivityRepository.watchForStalls (cognitive 17): RuntimeActivityRepository.watchForStalls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ee022078a8ae7448f74eb5beacd3542ce0a32772e96951bb4addf2541ede32"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidSetupScreenKt.RuntimeDownloadStep (cognitive 17): AndroidSetupScreenKt.RuntimeDownloadStep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef8d315159de64b1090b697891cbbf5ae37d4ea4f4a34d8e596954a17f51278"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleExecutionService.watchForCompletion (cognitive 17): ScheduleExecutionService.watchForCompletion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 1, 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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce53dbe9b32a5377b9dfb0957882b2d5ce641954bf53c872a2f8604fa4f8fc0f"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsNavGraphKt.settingsNavGraph (cognitive 17): SettingsNavGraphKt.settingsNavGraph has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 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":"app/src/main/java/com/yugahashimoto/andcode/ui/navigation/SettingsNavGraph.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f417a06762bf001f3c868a33cd832cb7ebfc7563d655fa3f25d301b6ea6b54d7"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantActivityRowKt.TodoTimelineCard (cognitive 16): AssistantActivityRowKt.TodoTimelineCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 2 (4 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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d862ac2680afdb4b93c0cc82ec103b31c06c068495212b0cd39438d951f9976"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspacesScreenKt.WorkspaceProjectRow (cognitive 16): WorkspacesScreenKt.WorkspaceProjectRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc750a8eb086a3b7a299fa13d193a584f8633c44dfdaa8eaab7024198ac8730"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalRuntimeInstaller.install (cognitive 16): LocalRuntimeInstaller.install has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1138ad857cd5449ee1be4d7bcb2be6fc4215d84cb2ea989f099e26f5f97441"}},{"ruleId":"D2","level":"warning","message":{"text":"andcode-browser-mcp.main (cognitive 16): andcode-browser-mcp.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/assets/scripts/andcode-browser-mcp.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"560c12f11ecacfd91de99cf14bc3279bfbcc47a07c1baf7251f2f22efccb635f"}},{"ruleId":"D2","level":"warning","message":{"text":"andcode-schedule-mcp.main (cognitive 16): andcode-schedule-mcp.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/assets/scripts/andcode-schedule-mcp.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"420d7a1014cdd99a9f487c5e2e2fda0e36aa86f844367431ffe33037e07ebc5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsNavGraphKt.settingsNavGraph: MethodTooLong \u2014 settingsNavGraph runs 401 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 301 over it, 4.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":"app/src/main/java/com/yugahashimoto/andcode/ui/navigation/SettingsNavGraph.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f602c6463e34955dbc4640edbc5b2b47bcfba30c6e8f46ac40a95e4e1d18429"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ChatHomeScreen.kt: FileTooLong \u2014 1865 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1365 over it, 3.73\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4c7a2c2352c83afc6cdaf47ac8d64191d6cb040eb90e1ee8b87bafc12fbbd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ChatViewModel.kt: FileTooLong \u2014 1690 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: ChatViewModel (588-2812). The bar is 500 significant lines; this is 1190 over it, 3.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b2264e7c86103e827da5a0ad2d8396c6c8901e122d1cb99e1f144ea9ea7c71"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatViewModel: ClassTooLong \u2014 1271 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 400 significant lines; this is 871 over it, 3.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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ef5c5699a8c8212489a25f1227f4c5282688c8aee51a14b3cc67308887a51"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteConnectionScreenKt.RemoteConnectionScreen: MethodTooLong \u2014 RemoteConnectionScreen runs 292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 192 over it, 2.92\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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0714292397a68bdde603282e5a45fef3e4139c26d05df0917d1122de6033b93b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AndCodeApp.kt: FileTooLong \u2014 1342 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 842 over it, 2.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fa879a90f35c5f8cb8e9286fdec546f44859ba5e619c1180416ae0dd1be8f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenCodeV2ApiClient: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"738244b568009a04836993cc8002be907868e585bd5147037a3e5d0fa172967e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndCodeApplication.onCreate: MethodTooLong \u2014 onCreate runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\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":"app/src/main/java/com/yugahashimoto/andcode/AndCodeApplication.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef41d4047366952645639c8fd640204606180e86f22fd5343e57992283f5246"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatViewModel: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d703deee124899dbff2dd421eb474367e4c5b1947090441478be8659b585c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/OpenCodeV2ApiClient.kt: FileTooLong \u2014 1143 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: OpenCodeV2ApiClient (56-1127). The bar is 500 significant lines; this is 643 over it, 2.29\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e33f8a5a27a83d537cb270819a218446568a9336a8cb810a6ae77fd8e8225d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenCodeApiClient: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. Most of these members implement api.OpenCodeApi (50 of 65 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2b8465e8c33310fec7445dff6da6160948ad211e1637188ca3371273dc728b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsViewModel: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd436484188a63eb7021b3734a8d8cc5a503c743330e006a291e7a100c2f319d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/AndroidSetupScreen.kt: FileTooLong \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 549 over it, 2.10\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c784e4de03c9af5ec78b6f3d55b4ee84a3186544aadb97d77e3fb12ac74ea78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtocolDetectingOpenCodeApi: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. Most of these members implement api.OpenCodeApi (50 of 61 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ProtocolDetectingOpenCodeApi.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b8574897172aa32dca696309909716a1bf4a8e7f276676a61a1287680d96af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalRuntimeTarget: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. Most of these members implement runtime.OpenCodeBackend (52 of 60 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb05402dae9bc051a005148e2d2710cb68ea316c4c1570271f35a9c208bb66f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalOpenCodeBackend: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. Most of these members implement runtime.OpenCodeBackend (50 of 54 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalOpenCodeBackend.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a590f68d6c5100d05519cee7cda6db2406a3a1c8c83938ee0baf3726e3059869"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteRuntimeTarget: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. Most of these members implement runtime.OpenCodeBackend (50 of 54 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9deeeeff339bdfb7abf238711fd4efb3ec9f54894320112268c1fc136dc80dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenCodeV2ApiClient: ClassTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 297 over it, 1.74\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd55f892e3fcb2a0678b768cc59aa7a17895b7718aac7ae04fc838fc8787b7d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClaudeCodeTarget: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0311e90649a99d2fce64e5ab3319cea25edab0b6f501e5e9daf515b35aeaf17d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteOpenCodeBackend: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. Most of these members implement runtime.OpenCodeBackend (50 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteOpenCodeBackend.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"769d94ad38ef2634f5b137129950d5ba8c3c28cd518f1bda0677519c59dcf1c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkspaceNavGraphKt.workspaceNavGraph: MethodTooLong \u2014 workspaceNavGraph runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"app/src/main/java/com/yugahashimoto/andcode/ui/navigation/WorkspaceNavGraph.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1854f452ccedfce8bf2fe5b3d70f5c414492859df6c02c1bcccbdfd97630fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/VoiceSettingsScreen.kt: FileTooLong \u2014 819 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 319 over it, 1.64\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/VoiceSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e822dcf4437bd625aabf18b7c0a90b842ef4b713058cef5d7ea3270a15e6297"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatViewModel.sendMessage: MethodTooLong \u2014 sendMessage 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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39960db6bb184a6520dc70f12699bf01b43889f15f65967d8778e263fc68344"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/WorkspaceExplorerScreen.kt: FileTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 235 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af1272dec9aea919025e1807e7e7913e5e52b5a597c8f402deef1d85340e5c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppPreferencesRepository: 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":"app/src/main/java/com/yugahashimoto/andcode/data/settings/AppPreferencesRepository.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a933b0558ba37d9589552fe331063e700d26ef927deeefdb5fa27bd9f175ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenCodeV2EventTranslator.translateEvent: MethodTooLong \u2014 translateEvent runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2EventTranslator.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96b574e744c5f6d3ccdfcbb01ad56b7b529171521914079110ed1cc2e00a301"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexRuntime: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexRuntime.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02d8f28489d0497550cf91fb4476f2f63b364bf6db414cbee3f327f8795cbd2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsViewModel: ClassTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 147 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"84566c4c86355f22c72f47a0123001cd3320fce0cf62be670c9dce9819137d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SettingsScreenV2.kt: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 over it, 1.34\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a82fb1ca4aad1fc7ee1365c1328453ffa405df3382e832a8aca808094472a42"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenCodeApiClient: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 135 over it, 1.34\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ae08002a3736b933dbaf5619e85b961b76fb5df45336b35dc424d13bf5b2c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalRuntimeInstaller: ClassTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 127 over it, 1.32\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac1838d6598e2f4c807af3d7a4c40932f7ed416fc08a4efac707541f3720c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SettingsViewModel.kt: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: SettingsViewModel (110-936). The bar is 500 significant lines; this is 147 over it, 1.29\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95574c03d79c218151673287de19bd6c04acf4b2c03d13c46e036745741103"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/WorkspacesScreen.kt: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 147 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff3a1820561e44665453a7f94dd71573578b8a1ce6a449e3b8d718588e01f2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedule/ScheduleEditorScreen.kt: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: class (85-628). 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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15756265ec094c1e71369696a5dd8f94e8939a8b39c17ed4cac6af7ae5b9b0f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatViewModel.handleEvent: MethodTooLong \u2014 handleEvent runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c65dbd1100cb1bf13bda33d4d77fdd754e0a79a34f4b6ed0c6c9aef8de89119"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClaudeCodeRuntime: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeRuntime.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b6cd7fb07efff36ea4d5955569ba7dd84397388983a448f47771a4bb9eec56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProviderSettingsScreenKt.ProviderSettingsScreen: MethodTooLong \u2014 ProviderSettingsScreen runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb55cec9ffb541b1e7deb46dffa8a76a864b5dac005fc49828d4fa7136a6f18e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeCodeRuntime: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeRuntime.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97db6b0b0b34db016643f2790a509f8715025396eaa44b5c3e83cb7c9fde415"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ChatMessageComponents.kt: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 over it, 1.22\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatMessageComponents.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ef32068ea09e10aeac2cc26340a80d0d2eab0b4a0a6857516c66326b0c25a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatViewModel.sendSlashCommand: MethodTooLong \u2014 sendSlashCommand 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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7355d839356e31232a9cc320c04348a3988d9f14d4bc1f0c8d35de3c93947b85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkspaceViewModel: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceViewModel.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79cc6c8a41934e17bb716a8c3081a6502662c1335b23b63452db3ac28b427fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexTarget: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexTarget.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"420e6059c0e6795f1f4a920c6a0308b8d98f82cfac7989cbf5902e730af89366"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalRuntimeUpdater: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeUpdater.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68ae22f1f6f640574392a1de0961ca375672166e3028a1e472ca09daf7d48b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/OpenCodeApiClient.kt: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: OpenCodeApiClient (38-798). The bar is 500 significant lines; this is 70 over it, 1.14\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a044f410225c40dd62d93091a21de62c8ff8e7d36c191a236cee321f5952d781"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WakeWordService.startListening: MethodTooLong \u2014 startListening runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/wakeword/WakeWordService.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"376ceeebcc8e4ab7a325bcbd9a556836ad986186d85aa9d6f1d034aab0135e87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AntigravityTarget: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"775608a2610aa29004f1a512dbd6033616b7452ed9980c90e68e65e73378d90e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProviderAuthDialogKt.ProviderAuthDialog: MethodTooLong \u2014 ProviderAuthDialog 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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"323adfca147146cd74e849310e1ed6cb4c2ded62bd40258d67a3a05d4be6059c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalRuntimeManager: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 40 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeManager.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faa2181258c3dea7a185de3a5b1f7f6b4c955221fd2c507d5b8c22a49d699d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalRuntimeManager: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeManager.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e2f94509ec583ee68b01dcf92b189d090483d6d6fedb96e3ce5eb71ee0c1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AppDrawerContent.kt: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b848df8bf7f9d19e873b95f7e9c05dbb238ab010d1ac1132e2923c8084d4e5cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/LocalRuntimeInstaller.kt: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: LocalRuntimeInstaller (16-744). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abd1b0ea0005a43828f70d26fc20b585ac5c7eedab4b9b2806d6c66ec344580"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VerifiedRuntimeDownloader.downloadLocked: MethodTooLong \u2014 downloadLocked runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/VerifiedRuntimeDownloader.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ee9ec38dae72056b5d133ea5ccfe3d4c749374fadfb203ffa4437cdd740738"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SecureSettingsRepository: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 25 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/connection/SecureSettingsRepository.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc3a69325501a3465fa33e50cf7bcacd7666be36ce059909b29cc3863c0433"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/ClaudeCodeRuntime.kt: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ClaudeCodeRuntime (43-826). The bar is 500 significant lines; this is 25 over it, 1.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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeRuntime.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30277fadf84b7aab40a66f8095e798f360162143541d8f91ac2276b8a04e25c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/AgentSettingsScreen.kt: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"640c154aefcc8f633a1d158217c96ce9ac22883ddd5640d64bccce2ff3ec5861"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomProviderDialogKt.CustomProviderDialog: MethodTooLong \u2014 CustomProviderDialog 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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/CustomProviderDialog.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5111366c87db6c4b36ba77c1afd78e886aec9eac32ff6d5891f82aa16f394e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (102 shared lines): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1414-1668 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1680-1851 \u2014 These two members are variants of one another: 102 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b775a209df5ad3eb974c31e84ce80a59413879d9f4b09c3c974f2e8719ea9981"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:62-87 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:93-118 | app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt:35-59 | app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt:96-120 \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":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8510507810e6b6f48c45b2a9e0645147f4430a33cc5548f02d180731a555a3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:545-599 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:743-804 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b1a301f791cb791384b4f96a12c59d234273365bba7c649a0c420be2758d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1856-1910 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1986-2045 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5845294152fec24c728fe9fce197833d9d41f9bbd2b336d6d564fdd0b8e283dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:220-258 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ClaudeCodeCard.kt:230-271 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b488a30d9e61842e8c37565f3c45064524f1acc427152a65075f6bc5d93325"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt:44-90 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt:69-123 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2319d35f58bc7cc335fcd0bd37e099d92bbab3ed8eb59f7c616d36b72b7957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:266-287 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ClaudeCodeCard.kt:279-304 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"12be318cc961686850d40eb851a972cab94668b613b49c86a3958aa8b7160fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/ServerInfoScreen.kt:283-318 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ServerInfoScreen.kt:321-372 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/ServerInfoScreen.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae355447f486f4292b2ff97735eaf208dd12a271cd8bb66aafcdf7bab3c9d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:431-471 | app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:479-530 \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":"app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"392d11225045ac9ea3dbd848ffa3753de94bcf0e0c9276638fc5fff26badb912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/DebianRootfsInstaller.kt:208-261 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:437-492 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/DebianRootfsInstaller.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b564fe9211f503bdc4a7bd436447a9bf16700f9eac17f40a917f4b8ce2c60e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1926-1970 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2282-2322 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a675b84c60765ae89b238bf93afd8141d6b603d0cbb3110ce736fd2ae8ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:187-220 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:238-281 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79d973453069878ff880549db57eab8c0488216a2f54d24660c6147ffd08b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:564-580 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:602-618 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2209bac8e8a5382222ff70e98aa87d6425b5cbf9556b2a9f14bf22e53c00eeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpViewModel.kt:136-159 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpViewModel.kt:165-196 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpViewModel.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"269a86e372133cd381c084a1ce02d7d77038f68807db27be4883890021da813d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:804-831 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/VoiceSettingsScreen.kt:1040-1078 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3ebafc1f7d216a67d6ddec32b816ef47f28d4bf2611b5dafb7997aa0f1c076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:401-424 | app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:563-594 \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":"app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c27cdc6f9076bd065a1dfef9df73e2db68353c3235428414d281394aaf84e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:163-187 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:193-217 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:256-276 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:282-302 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ea6f161b34b4efa64bd97f48db464a4e085defbb7cfe19028ff001e1ca404"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerViewModel.kt:121-137 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerViewModel.kt:152-168 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerViewModel.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b646fce9d082a9ad71fa88fcd60e88acfdb2716d3b996e1b29bbf3bea204a8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:730-746 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:1047-1064 \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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6eaeec6c7bf473a94b15f71d3f1058657e67484582f51ff4aad68b7e8f5761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/notification/RuntimeNotificationHelper.kt:131-158 | app/src/main/java/com/yugahashimoto/andcode/core/notification/RuntimeNotificationHelper.kt:200-220 | app/src/main/java/com/yugahashimoto/andcode/core/notification/RuntimeNotificationHelper.kt:231-257 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/notification/RuntimeNotificationHelper.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b284c0211a804f5341a967c7c124b7857679e7c4e29776f9c4d11357d1075b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravitySandboxLauncher.kt:22-53 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexSandboxLauncher.kt:23-56 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravitySandboxLauncher.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5862f1e668348ac4556a61b4864b6c8c603c4c6e538b269c3fbee29dc576472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:194-213 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ClaudeCodeCard.kt:200-218 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d42af1f4d1b158f54f97a02eb6fa793b2ce73a28057ec294d214ec408e3ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt:142-156 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt:159-171 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"769eca44fa6b405501495307ecdef8efb564c7d983060caf64c3dcf0cacaa76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:341-363 | app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:533-556 \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":"app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc18705aec2e4ac300c9247a4688647aa7037ccb98e1dd3bcbcb43c8c5a2a038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2325-2344 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2347-2370 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad950e0731d23ea38120687a1b377b49af22f0a6559c46318e8ccf368c25e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt:209-225 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt:227-243 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c1c86e87a0023d9380bdeb1a32f9be45da5ef3e4b18ea1e85b0d445f17e094"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleRepository.kt:180-189 | app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleRepository.kt:191-200 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleRepository.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6086605b2832149c3acdb0c743f7f191cdf15cab1fee9e05501a23d1916a6ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt:581-598 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexKeepAliveService.kt:63-78 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"227805c8cc8c39d76a309eb63843a201aeb49e8cdb951ba75d8a846e8ea7b248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:290-306 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ClaudeCodeCard.kt:307-323 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba5de417d760228884d338fcd565accf575e3c1d59219e52dec4f683de0317c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt:133-149 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt:344-355 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a59bbbd328697ffbea360e2603de0d757b14d2be0e6653bfb444e8e2fe3f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:583-596 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:621-634 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5d37a2313d408fbbf04edb01fe4f9797c3d9121988e869d78e5e53ec659064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/CodexSignInViewModel.kt:49-63 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt:426-441 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/CodexSignInViewModel.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d471b897ce08dd52ca9bc01e4279ad26ec9067567b5b2eeaf1e32b67511cc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:731-750 | app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:671-689 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef62395e45ab3880c6ba7dc803f95df502f5e9cd00e876f866f70dc35204cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:845-859 | app/src/main/java/com/yugahashimoto/andcode/ui/components/AndCodeComponents.kt:85-100 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"1804e80ecf948a8b26904d1e65b37f5557e7a74f55879704dbe844915f883802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt:205-218 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeAuthCoordinator.kt:116-127 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b11369a050de4266a8f9595eaf36668a9db7ee6a225654cb699cab7f6d6f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt:27-47 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt:61-81 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt:405-417 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a68341b066671d5c876227d53f38ecb8538947d99130b2efea854c1ea070ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexInstaller.kt:110-123 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/RuntimeArchive.kt:34-45 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexInstaller.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4b9edce2ca1c23c1e5397c051df149df779a093a5bf75a04c3bdfc5e09f391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:686-702 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:1008-1019 \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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"170c3722615baebe5ae441e70bf7b79a03c1ea4ceac859a070e03d82a086e873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AdbConnectionManager.kt:157-172 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/AdbConnectionManager.kt:175-191 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AdbConnectionManager.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae98b37d876e7d914604c8a172f028751e5158dbe989582221f218ab8b3da35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/assistant/AndCodeVoiceSession.kt:486-495 | app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt:154-163 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/AndCodeVoiceSession.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96741dadc05ae49eae0fda2693441333f9da72d39fd62a097ca18f07cfb1c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/CodexSignInViewModel.kt:69-81 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt:467-476 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/CodexSignInViewModel.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0511ce0e19c980a3e8104653767b464ecd27e9e683772d2fabf0bc5b738845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/assistant/CloudTTSProvider.kt:272-286 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatImageViewer.kt:325-337 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/CloudTTSProvider.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba4c7e39e9e6ef60540598d6c44dc2a700bd9d136577cdf0e1e511b22bf37db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:164-170 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:602-608 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:617-623 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"562ac5d4dd53d60d4788dc6d58ce4101dc085f3ea46f9299be8fad0b04d96cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalScreen.kt:203-216 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:199-216 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalScreen.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edc1e2a0cc8e265a37e52acaeb0069aacef298636b2e18a90a332007347290f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravitySandboxLauncher.kt:67-78 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexSandboxLauncher.kt:63-71 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravitySandboxLauncher.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"735997a2acf5faded6eef6aab1cfbb4b571e02c82f72c54dfbdbc2bf4eaa74b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt:121-130 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt:247-255 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c40b3f77c7e91ad5cea13d65405ce634dd490fba3bb41afe66b9b25b73e1421"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt:72-78 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexTarget.kt:80-92 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2934ca4f260c36f8ba779014accd327b6cd12c6eaf8635b09c0ec8860bcd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt:209-212 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt:675-678 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec314b3328c8513be1ac6162e0ed86ab5fcbf96c0a980ea3ce941726e41934e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:121-129 | app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt:123-131 \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":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01934b3f131c9c8586e208ef6f94d4dfca07acacfb5852215d5c31ce08cb45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/CustomProviderStore.kt:107-117 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalProviderCredentialStore.kt:99-109 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CustomProviderStore.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b5a92c611da0d6bd8bee5ba4012d62f58610742fb5d442505668d78eca88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt:425-432 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeAuthCoordinator.kt:203-210 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5ffa7acc7d78681694a549f49d3412563e7d7c8f637304c2dae77f0a5403e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): runtime_tools/termux_assets.py:251-253 | scripts/prepare_android_runtime_assets.py:320-321 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime_tools/termux_assets.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f00edfd69f43599ac6787c7182b935605e5615e241e4cb555e537afe078d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:287-291 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeManager.kt:640-646 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"42512cfae0475d0be84dee21450b5fdb75c7614275e66f0b642f4fc6234a9464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:605-607 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:928-932 \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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca715e239d51d0c6cd0eeb3cbc2a3b5c6259ca902a134064e33c3599ea1129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementScreen.kt:388-393 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:1012-1017 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementScreen.kt"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11e605394d6caee9abd480e7281ef3a59d32503d2945d47ed39306f8fb8cdff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:756-758 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:1074-1076 \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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f726521089a2f8dd693a309037e94f6b14977bcb658bf0b38e7e85809ae0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeMessages.kt:61-64 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexMessages.kt:63-66 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeMessages.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c485797c2f596a560547719c3fd1ff48911d0e3c10e364b17b5e4f12650fa657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexKeepAliveService.kt:52-54 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeService.kt:462-464 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexKeepAliveService.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7accb176c017a77782d0f7b01750975b5c617ff2cd19bb3fc82721d5399b0396"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt:186-190 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt:277-285 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"195336374d4a83d58fc3313def2145cea8c56d09437f944f2fb5509b6c6c28f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:94-138 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt:117-162 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"879bae9794a993f61fbef42cd30ad4fba8d5e3639e51fb8c07ac06f90e0f2969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201344 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1500-1543 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1717-1755 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1500\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efc7677ce573c3ffbe3131c3c0c94f81107e743bdd6a100c9dbca46a786b9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201333 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1599-1631 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1800-1822 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1599\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccb03ea57e96e220cf30a0092bcfe1717e640e1699e6fafedfa837a60c9570f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1572-1597 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1776-1798 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1572\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1571\u0060 calls \u0060emptyList\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1775\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bbfee3c801f689c723e895ee890ef17b174d41a8a193ddfd57647b82376567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1858-1882 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1989-2013 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1858\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b17034865b5b379b2942d7d92e7df095b1a1618945d4a9d13946b420149c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/ui/theme/Theme.kt:55-79 | app/src/main/java/com/yugahashimoto/andcode/ui/theme/Theme.kt:95-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/ui/theme/Theme.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e737920ff2a7eea4c11b890cccb0824004a92a7125584a4c344c5f243689b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:512-534 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:544-566 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:618-640 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:650-672 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:512\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5311e139447bc672a35f90c248ab540c0fe7dea26c43bf2ab58cdb4aaa3ad12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:426-447 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:573-594 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:426\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"088298c18c8cd7096703127d41e334ac4283a4f29d32b98741c964c9fdc6f46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:231-252 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ClaudeCodeCard.kt:244-265 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:231\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selected\u0060 to \u0060AntigravityPermissionMode\u0060 in one and \u0060ClaudePermissionMode\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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a756a53e91001fe0bfa5729d377127bf47e0546576a809b20425442c3b43bd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/CustomProviderStore.kt:123-144 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalProviderCredentialStore.kt:115-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from 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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CustomProviderStore.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f901b4e5fe08f9f40095cdaf2d935b15e6ab4c6839542be40a89d1ed5b4f178b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentStatusCard.kt:71-91 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementScreen.kt:400-420 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentStatusCard.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98d8e774b064bec776ac2a7ae101a50c2926ac70400f21717f9da0e39e93fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1168-1187 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt:129-148 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1165\u0060 calls \u0060RoundedCornerShape\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt:127\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f4092b5ac16c8966f0872a9992681d6620a1634b614fa23815db8f92acabc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:432-451 | app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:480-499 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:432\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":"app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed1d1f8305a6f186f7cfe180f6c1231cea991d2e49c1969fc0b604b96f2815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:429-447 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:470-488 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:576-594 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:429\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c652b519cfbe1e588301f0b42d377f8b8b01d2d1c8cf90a5042a0830e75b3893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2483-2501 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2542-2560 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2483\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":2483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8232ca15a5e844eb228a06d74ad5a766401306546d540b908f49a156e48adcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:557-574 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:756-773 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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 \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:557\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:755\u0060 calls \u0060OpenCodeV2EventTranslator\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:556\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6693d33a175798d9345a2ce377360f1a8fd889f4b23018b85841c826c0f23fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1353-1369 | app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1410-1427 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1353\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cce701619a91fda341db702d535c9188eb044527cb5dc6cdb4f8ef5363463b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1386-1403 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt:375-392 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1386\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"58560a9aaf3b582c8d77d229ee2473f4aaf29b89c2b1d2e71fbe473adafdc6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt:140-157 | app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt:101-118 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ab07bccaf48bf75c91679cb5d130d3c5ef7a013d4bb27822b1292a2d3a8b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:709-725 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:1026-1042 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. 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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadeb091b3aff6214328b14fe8ec6fb1c1823590dbb86f668942442638ba7679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:499-515 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1042-1058 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:499\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ee2439d619c25aac0c8c7802e85d6bca7c40dc99d8b1b3fd274c4f3099bf5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1652-1668 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1835-1851 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:1652\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7d9c41ddf9cb620c27e055e0fba529f15dba81a9a10f01d9a1b6742c7525fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1151-1166 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt:103-118 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fad88b12dc264c1c17f5096a3b5658bb40b88d9482bdacf85a7d1d6e0ca558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleListScreen.kt:92-107 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:135-150 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleListScreen.kt:92\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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleListScreen.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df224c771b262147eb743e9ad801ffdb28ea8e874afecda8c75ee7c7548692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleListScreen.kt:179-194 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SystemPromptScreen.kt:148-163 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleListScreen.kt:179\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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleListScreen.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"be06dcdc85b664599222ecc08c827b0544d99e58afefad17a8ded928b639855c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:665-680 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt:83-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:665\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"8861b32740366d8e1b14b1c77693a88d558fad0337ffaa146ca5b6ac90bf044a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeSandboxLauncher.kt:60-75 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexSandboxLauncher.kt:23-38 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeSandboxLauncher.kt:60\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeSandboxLauncher.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aac9d18e1e75799b350f631ebb15bbffd5af965a1fc5e0be5fd1f14c8b2dff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/com/yugahashimoto/andcode/runtime/local/DebianRootfsInstaller.kt:177-191 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/DebianRootfsInstaller.kt:241-255 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeInstaller.kt:469-483 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/DebianRootfsInstaller.kt:177\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/DebianRootfsInstaller.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e017a40ded3eb58a17a5d1d2b93b96f19c7ed68d3773c5376daa1cb602c38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:2316-2330 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt:2787-2801 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1700f03c9d93b746bb13a8a524ee2cb5f19a11931cb3e9b53167d2ce87b1afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:318-332 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:181-194 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:318\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"90db45c9fbf044044843dda94de7995d7042101deb719683dc26dff6b51d5433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:199-213 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:250-264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:199\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"344b04e05ce4f05319b0066d1fcf7a15a07b68a308bb46fcd44bdff81a0c5c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:426-440 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt:469-483 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:426\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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"514530b69b25466995214ecd0ae89229cf3dada2010e1e7315de0b0649886dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:236-249 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:467-480 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:236\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a61b9e5410ebd4dedbbd03876b6192e5962f6f232a9f17c3d5047ff08012534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatDiffDialog.kt:74-87 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:586-599 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatDiffDialog.kt:74\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatDiffDialog.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca443a2d5f1be950a4b9fbb193c443193c581dfef38925329e287aa7ab15965b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:340-353 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt:215-228 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"51aa5f48ac9da52714896105d4171a8f8a71e62147b2ce14c7792d41532d8cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:877-890 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:891-904 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"44423bbca988a837c1197301ae368cf2e5ce6c1608946d19e657126515376668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:731-742 | app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt:1048-1060 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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 \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt:731\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe7d89c0d457e0e5c7767da2ff320d4242e65ee226f21b5c733db75d8ff346c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpScreen.kt:170-182 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ServerInfoScreen.kt:144-156 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpScreen.kt:170\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpScreen.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f15ef67f1cb76f9674c2645e9413764252e48b8a0ef4f13b8cc51231ea6134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:495-507 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:601-613 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:495\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2be9c698802b03ccb78b8c950dbcf51188d515e4fa6419435bcffc6a8c6cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:272-281 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ClaudeCodeCard.kt:285-297 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AntigravityCard.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9086943ceef40e0383b36eda015f7f7251d27e60994c0c523a832452f5df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:368-380 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:551-563 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt:368\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceExplorerScreen.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6b9f40d2d631a7f9f4bd65adc56528dddd34994466cde5adb3aa98e4b43916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt:386-398 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt:124-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt:386\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityAuthCoordinator.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"4924e29314b903175c0d8d8ca485c98a8cd39d63b80e98071d1709590f36ce12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:257-268 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:489-500 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt:257\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e55a1d027ef3d262c3ef0a50967b7e2363f0cb4aea0b235a1aa6825918683c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2179-2190 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2249-2260 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2179\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"de208d8819b4ad6d83a737166fc549bad5099a5ce27b47b62ea17e5d5440bd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpScreen.kt:81-92 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ServerInfoScreen.kt:87-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpScreen.kt:81\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/McpScreen.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7237b9a8469f05aee5c92905a9e6e713a4cf67a94221f4ab792ffcc6cc570474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudePermissionBridge.kt:146-157 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudePermissionBridge.kt:233-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudePermissionBridge.kt:146\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudePermissionBridge.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ec8933d2a13ab29d9912e11ac12a072e6fd61100a7cdb84facdba83383d072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt:1440-1451 | app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt:1480-1488 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt:1440\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":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ed6d75caa43216f86c73741234bc834377aa1063144d64dbd7c6a854a873b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt:733-743 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt:793-802 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt:733\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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"813acaa26be1371e1e8b43ab8ad650210d2aa520d469be18d84124801e882184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:952-961 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2233-2242 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:952\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec392cf9d5907b7c9062ebe32269f052024c164f36d4bf227c96d5eddb52584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:765-774 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:809-818 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:765\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, \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:764\u0060 calls \u0060clickable\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:808\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca6bfb8aa07f6ceb488e541bd83977b3fc22e5c228769e3942d239250a4345c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt:28-37 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt:62-71 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/AgentAuthDialogs.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"599cdf4b73a238ec5f864a253e54b0120077c954f6cf64edc93d0e28f6c604ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt:49-58 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt:75-84 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt:74\u0060 calls \u0060normalizeRuntimeVersion\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt:48\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48c78aa8914c12ed9cb34b033a553b82f1076d941e251f2c8d813b5cc67f668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:952-960 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2154-2162 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2233-2241 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:952\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7963a1ee3ea5349d266a9573a2036a0f5055a58fa87898d94ca9bb150c15aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:883-891 | app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:1230-1238 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:883\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21a6d0c48d5009439da8ea2fb3869854c67f56e945a9ad69f10c96fffbf5472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt:250-258 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/VoiceSettingsScreen.kt:726-734 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt:250\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":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fb62bc803452d20fff75225b7c1b857c02193f5ddb8c8f559f1ca3e2ece484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:189-197 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:240-248 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt:189\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AgentSettingsScreen.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d94b490a90b92ef6c3d7f316e571d20248e04634abe0b12f87bcaca6bf07f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityMessageStore.kt:81-88 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeMessageStore.kt:108-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeMessageStore.kt:108\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityMessageStore.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9528eabca473ced785453918ef27dd4f5631315fe838aa498333fc5b95e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt:109-117 | app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt:70-78 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt:109\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7c074650b12598cf06c1b81ad36d175909a9525f89694bee9acd9f8b961aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt:1822-1830 | app/src/main/java/com/yugahashimoto/andcode/ui/AppDrawerContent.kt:373-381 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt:1822\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":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6586ebdd8d5c7531679bfb215f7dd0e0d12ab7a9ccc512c3b4289b58b108b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt:271-277 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/ModelVisibilityScreen.kt:93-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt:271\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"41053028d884070ff8c768c42e9701d397c2199eb36d061a39fb27a56a34f292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt:69-75 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:272-279 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt:69\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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"06deb9276f1913db6fc8f29775dd72ae33c08df668d1f4e1ddee7e5e8a2e389d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:68-72 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:99-103 | app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt:41-45 | app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt:102-106 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"53675b27cf8f1a0a73dd12aac0d48fef5f37f5223102a9c9e596ebaeed6e38c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt:100-104 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:312-318 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt:100\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, \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt:311\u0060 calls \u0060RoundedCornerShape\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt:99\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":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a5521c157ef393298353f48a3576a4d60a67931874f02ccda3d405ad0fabd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt:196-200 | app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt:311-315 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1412139dc8e469d829baafd51beb510b24632376efee12cb635a30d1fa7d51a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt:834-839 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/VoiceSettingsScreen.kt:1081-1086 \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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsScreenV2.kt"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbe4bfbee110594d50f8373e1be675b49ee842576c8dd4e58c8916068534c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt:130-135 | app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt:91-96 \u2014 before extracting anything, compare \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b28fd0d471362e78756ac1a53d4a1171475435b12e2d710a7a48aec8e8a49ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt:46-50 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeController.kt:51-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc371125a1104e7331de60f24db8c34d52e43a7abf9bbde66130ff3b1733193d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1944-1954 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:2300-2310 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt:1944\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5906c3357f5629ba6e48ff314ae7c7b74420db4cd03d7f96c860c003cac0fdef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:839-849 | app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:944-954 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt:839\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":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc2daad2cbb1c32d4203861dcd77d06453cb30a4fdb383c3f36c5fcbd149dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:163-171 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:193-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:163\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0238d7ad36726598fb7263e28bbc1d9dc80fb6de66e566ece707796f1cedf96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt:65-72 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt:91-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt:65\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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebe5cd687bef3bca3c53dce76bfe5de759370aa3f92fac9cecd15f636f501ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt:223-230 | app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt:246-253 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt:223\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":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e22f808b5953247e328182bbf8f2420757b99b2dc8755fdd360168d9f8eee35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexInstaller.kt:113-120 | app/src/main/java/com/yugahashimoto/andcode/runtime/local/RuntimeArchive.kt:36-43 \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":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CodexInstaller.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7d8b71c9cf1f973ab9870775e5ab5578fb5cf69a5f8799d2da77a39999e399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt:144-150 | app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt:161-167 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt:144\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":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff553da1948b66ce86aae62e6948ad8c604c5cf11712b7aaab2c6e8d4da168de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:256-261 | app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:282-287 \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 \u0060app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt:256\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aa92ae3cf2761d9ef1afa866f4acb6ccc5f71c38f17367770b7e6d2c6af619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): runtime_tools/termux_assets.py:80-88 | runtime_tools/termux_assets.py:97-105 \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":"runtime_tools/termux_assets.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4f151a3d0207245b3f4eaabf31f849ba7027d265128073e073eae0f9a087ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt: app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in AndCodeAppKt.AndCodeApp at line 182. 26 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/ui/AndCodeApp.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cc90939609c29a51a17d5d4988f0f28b9cdf50fa0165a8b99b772d63c879fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in ChatHomeScreenKt.ChatHomeScreen at line 187. 21 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatHomeScreen.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84123e364969a47efaf43e5b243b0df13e8ebdba0b67def22f1705a037fad6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in ChatViewModel.handleEvent at line 2304. 26 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatViewModel.kt"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5473529075142b3f2c31564ac4adca420fa5b64340d40fd321c2de78bb9a4c16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in AndroidSetupScreenKt.AndroidSetupScreen at line 99. 4 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc5e6debb2ca78129f0e38a6ba7f256b9f8b9d70a7f48f88389538aa18a6ade"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt: app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in RuntimeActivityRepository.handle at line 489. 3 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeActivityRepository.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f435ea74364d7a27afc445b57d21f0a696cc7df9a163a3348ee5b039e099c27e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt: app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RuntimeCatalogRepository.load at line 176. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/repository/RuntimeCatalogRepository.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"748b81ffe1d1ae53906459f42a12e250c2744ee60f4956b96fe777c98201d69f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CodeViewerScreenKt.CodeViewerScreen at line 95. 3 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/CodeViewerScreen.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d18cb968fea0c55812991760f33d8653c90ec894c7c0c240a0ecb3dc7802a0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ScheduleEditorScreenKt.ScheduleEditorScreen at line 89. 3 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleEditorScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f9af85afcd47cc1981552e903219f86005f2a6b1ffde4f94f1f2ec75fd3b08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WorkspacesScreenKt.targetSubtitle at line 841. 1 of those changes was a fix/bug commit, 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspacesScreen.kt"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e985db5dc9865554c2db963fec4266d21625ec41bcccbe92bbaee131ceaa2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt: app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ProviderAuthDialogKt.ProviderAuthDialog at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderAuthDialog.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"252a99e8e9024ea37ea91db9fd302d1784423f2c04e83a814ef16b3af62ac460"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt changed 14 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is ClaudeCodeTarget.sendMessage at line 361), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: stop local-runtime ANRs and a Keystore-corruption crash loop\u201D; \u201Cfix(system-prompt): never record a preset that has been deleted\u201D; \u201Cfix(system-prompt): move a blank chat\u0027s preset onto the chat that chose it\u201D; \u201Cfix(system-prompt): stage a new chat\u0027s preset instead of moving the default\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"503413137af20a4222dcaf184a0fa5eb704560396632b228a1cc435a59e26ce9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatMessageComponents.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatMessageComponents.kt changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is ChatMessageComponentsKt.MarkdownText at line 396), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): read an image data URL\u0027s type from its header, not by copying it\u201D; \u201Cfix(chat): linkify urls inside bold/italic/strikethrough\u201D; \u201Cfix(chat): resolve text direction from content for RTL/LTR mixed input\u201D; \u201Cfix(chat): explain OpenCode Zen free-tier client gate (#343)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatMessageComponents.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatMessageComponents.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc8640b7e8ddbf37393bd96411df259eb011cc8287d693477c060090f5a6cc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeController.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeController.kt changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ClaudeCodeController.install at line 148), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(system-prompt): move a blank chat\u0027s preset onto the chat that chose it\u201D; \u201Cfix(system-prompt): keep a staged preset to the chat it was chosen in\u201D; \u201Cfix(system-prompt): stage a new chat\u0027s preset instead of moving the default\u201D; \u201Cfix(system-prompt): move the chip on the tap, not on the next recompose\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeController.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeController.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0557a95447ce5153d9cf187e95fb49568159d2481fff7fa101332234dcdb3f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AndCodeAgentContext.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AndCodeAgentContext.kt changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is AndCodeAgentContextKt.installAndCodeAgentContext at line 88), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime): bound and guard the remaining agent-context file I/O\u201D; \u201Cfix(runtime): make agent-context install fully best-effort per path\u201D; \u201Cfix(runtime): keep installing agent context when a guarded path is unusable\u201D; \u201Cfix(runtime): reject symlinked agent-context paths, including dangling ones\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/AndCodeAgentContext.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AndCodeAgentContext.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d09647839b5d73a58e4d1a53b0a9cb29fb64e1ec235d570ab6691803511cfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceViewModel.kt: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceViewModel.kt changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is WorkspaceViewModel.deleteProjectFiles at line 202), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(system-prompt): move a blank chat\u0027s preset onto the chat that chose it\u201D; \u201Cfix(system-prompt): keep a staged preset to the chat it was chosen in\u201D; \u201Cfix(system-prompt): stage a new chat\u0027s preset instead of moving the default\u201D; \u201Cfix(system-prompt): move the chip on the tap, not on the next recompose\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/WorkspaceViewModel.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c2c49ee51aef54b65c84757ce918594c321845a75441a0658b3a1f5982fef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/SystemPromptStore.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/SystemPromptStore.kt changed 6 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is SystemPromptStore.delete at line 155), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(system-prompt): stop a write from being able to lose the user\u0027s presets\u201D; \u201Cfix(system-prompt): strip what exec will not carry from a pasted preset\u201D; \u201Cfix(system-prompt): stage a new chat\u0027s preset instead of moving the default\u201D; \u201Cfix(system-prompt): cap a preset at what exec will carry\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/SystemPromptStore.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/SystemPromptStore.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47bddffb2b7446f5cc2dac1cb0068c226b48a63821ef8000bca40fd89acfaef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt: app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SettingsViewModel.beginProviderOAuth at line 502), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): show the agent chip loading instead of ignoring taps\u201D; \u201Cfix(providers): rethrow cancellation in custom provider submit too\u201D; \u201Cfix(providers): address review on custom provider model fetch\u201D; \u201Cfix(providers): keep model selection and connect DeepSeek from picker\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SettingsViewModel.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e618926779556c43e5684cc7160813c777e31035d699244b7467cdc88ee85"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiModels.kt: app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiModels.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is OpenCodeApiModelsKt.sessionIdOrNull at line 450), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): say why a run is waiting when the provider keeps failing\u201D; \u201Cfix(opencode): decode agents whose hidden flag is null\u201D; \u201Cfix(chat): copy unsupported attachments into the workspace\u201D; \u201Cfix(api): archive OpenCode sessions through time.archived, filter them from lists\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiModels.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiModels.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33a5a8ba5b267bae2019ce82bb608cd213e451bc5655d963e9881fd2f9b1275"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeService.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeService.kt changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is LocalRuntimeService.notification at line 626), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime): stop the main thread and startForeground waiting on local-runtime work\u201D; \u201Cfix(runtime): make full development tools optional and resumable\u201D; \u201Cfix(runtime): restore the onboarding sync ordering and harden the idle stop\u201D; \u201Cfix(runtime): make the boot suppression real and refresh the proot notices\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeService.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeService.kt"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cb6478e47efaade06c96bc49ff03747db88a3f90159b2d170e09bac66983b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is AntigravityRuntime.summarizeTitle at line 438), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(terminal): end the shell\u0027s whole process tree and harden the output parser\u201D; \u201Cfix(antigravity): stream chat history to disk to avoid OOM\u201D; \u201Cfix(chat): copy unsupported attachments into the workspace\u201D; \u201Cfix(chat): keep LazyColumn keys unique when a transcript repeats a user message id\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b7f0a6a054e9422ea71bc7f3a6f26862ad6daacc07695b90e610fa139d87a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is ModelAndRuntimePickerSheetKt.ModelAndRuntimePickerSheet at line 69), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): make the favorite star work in the voice assistant model picker\u201D; \u201Cfix(chat): persist composer drafts, stream chat history to disk, add android-build-setup\u201D; \u201Cfix(providers): keep model selection and connect DeepSeek from picker\u201D; \u201Cfix(chat): surface reasoning-effort variants in the model picker\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c174106fc770f4220132b1008b31cd3f996bffd2e5cfeabaaacd6c2ee6d95677"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/browser/GuestBrowserScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/browser/GuestBrowserScreen.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is GuestBrowserScreenKt.GuestBrowserScreen at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): guard only the provider start, and handle linkage failures\u201D; \u201Cfix(browser): explain instead of crashing when the system WebView cannot start\u201D; \u201Cfix(browser): restore guest commands and visible address bar (#372)\u201D; \u201Cfix(chat): persist composer drafts, stream chat history to disk, add android-build-setup\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/browser/GuestBrowserScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/browser/GuestBrowserScreen.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d5d43c6c93312a6624dd0704b2aa8914d7b2303c81d32357b80923f706d0e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalViewModel.kt: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalViewModel.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is TerminalViewModel.run at line 151), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(terminal): find addresses across wrapped rows and keep slots for real servers\u201D; \u201Cfix(terminal): apply the re-review\u0027s cheap suggestions\u201D; \u201Cfix(terminal): end the shell\u0027s whole process tree and harden the output parser\u201D; \u201Cfix(runtime): cover the work paths the wake lock rework missed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalViewModel.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalViewModel.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5e5f4176fb010813091071b3d50e560753a6b9026c769fc8d16d977829944d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is AntigravityController.rehydrate at line 118), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime): make full development tools optional and resumable\u201D; \u201Cfix(runtime): make the boot suppression real and refresh the proot notices\u201D; \u201Cfix(runtime): cover the work paths the wake lock rework missed\u201D; \u201Cfix(antigravity): refresh the model catalog after an install or update\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cd36c19f69ae67e4e114399404e077507439f7ae65617d9860e128168e5eb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is AssistantActivityRowKt.TodoTimelineCard at line 461), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): resolve text direction from content for RTL/LTR mixed input\u201D; \u201Cfix(chat): show thinking content instead of empty reasoning cards\u201D; \u201Cfix(antigravity): unblock tool calls; fix(theme): make the light theme readable (#283)\u201D; \u201Cfix(chat): wire auto-expand reasoning setting to the activity sheet\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityRow.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d62540f8f82febc7a40254a469a29ffe8e6752573771e87d732aca2a2df330"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/OpenCodeSystemPrompt.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/OpenCodeSystemPrompt.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is OpenCodeSystemPromptKt.applyOpenCodeSystemPrompt at line 53), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(opencode): stage the prompt under a unique name\u201D; \u201Cfix(opencode): replace an existing instructions file on the rename\u201D; \u201Cfix(opencode): stage and rename the instructions file instead of truncating\u201D; \u201Cfix(opencode): open the instructions write no-follow\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/OpenCodeSystemPrompt.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/OpenCodeSystemPrompt.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c6e44f2ed48b9632123ce3520051f790111a3f6776a9e9e1e72768e55bbf5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt: app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is ScheduleExecutionService.watchForCompletion at line 499), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(schedule): allow independent schedules to run concurrently (#296)\u201D; \u201Cfix(schedule): retry runs that fail to start, and never miss one in silence (#265)\u201D; \u201Cfix(schedule): stop losing runs to a dropped event stream\u201D; \u201Cfix(chat): retain streamed bubbles on reconnect reloads; suppress abort errors in voice, schedule and add direct merge tests\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/schedule/ScheduleExecutionService.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09e07f38440dd7a0eba2abd8307af99f628fded737aa1ecc9595b47a10c95ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/settings/SystemPromptScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/settings/SystemPromptScreen.kt changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is SystemPromptScreenKt.SystemPromptEditDialog at line 215), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): persist composer drafts, stream chat history to disk, add android-build-setup\u201D; \u201Cfix(system-prompt): strip what exec will not carry from a pasted preset\u201D; \u201Cfix(system-prompt): cap a preset at what exec will carry\u201D; \u201Cfix(system-prompt): show the open chat\u0027s preset, and translate the built-in names\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/settings/SystemPromptScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/SystemPromptScreen.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"be80d1d82c43926d06a6caa18d043ff8243c8fd3d2f57956beca8efbf4e5aa32"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalOpenCodeBackend.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalOpenCodeBackend.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is LocalOpenCodeBackend.delegate at line 63), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime): stop the main thread and startForeground waiting on local-runtime work\u201D; \u201Cfix(opencode): confirm V1 servers with the profile\u0027s username\u201D; \u201Cfix(security): authenticate the on-device OpenCode server\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalOpenCodeBackend.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalOpenCodeBackend.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc6a3587650c9a8c4b8d61abd65b569d38b64dab95f427fc0b5047851abb10f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalScreen.kt: app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalScreen.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is TerminalScreenKt.TerminalToolbar at line 151), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(terminal): find addresses across wrapped rows and keep slots for real servers\u201D; \u201Cfix(terminal): apply the re-review\u0027s cheap suggestions\u201D; \u201Cfix(terminal): end the shell\u0027s whole process tree and harden the output parser\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/TerminalScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f25e0f92282eb8705b4b59de83180e57f4dd0b4e91e2a19ebddd6493a7cda4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt: app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is AntigravityTarget.sendMessage at line 165), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(antigravity): stream chat history to disk to avoid OOM\u201D; \u201Cfix: stop local-runtime ANRs and a Keystore-corruption crash loop\u201D; \u201Cfix(runtime): implement session archive for Claude Code and Antigravity targets\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7c5c448ded841f371ef3d98d7cf9f045b753846e9d2a49e3f70424afe0ccd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatPreviewCard.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatPreviewCard.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ChatPreviewCardKt.ChatPreviewCard at line 67), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(browser): polish inline preview lifecycle, insets, and handoff scope\u201D; \u201Cfix(chat): place the restore button above the composer with higher contrast\u201D; \u201Cfix(chat): restore the inline preview chip and format the watcher\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatPreviewCard.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatPreviewCard.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd7d8d5c4a3fd5374e3bf5e1525ed2352b3d7ac878b16e19568b25d39cef92f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatImageViewer.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatImageViewer.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ChatImageViewerKt.effectiveImageMime at line 267), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): read an image data URL\u0027s type from its header, not by copying it\u201D; \u201Cfix(chat): harden clipboard image paste after review\u201D; \u201Cfix: downsample attachment preview bitmaps to stop image-attach OOM\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatImageViewer.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ChatImageViewer.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"782aea28c0988b23cfbc12e51beb6c26449451da19ecbc2c0e5624326849d25b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt: app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is OpenCodeV2ApiClient.singleEventStream at line 742), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(opencode): decode agents whose hidden flag is null\u201D; \u201Cfix(opencode): keep proxied V1 servers reachable and gate V2 MCP OAuth\u201D; \u201Cfix(opencode): keep the V2 agent mapping independent of hidden agents\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"679d60f35dfd3e1e1035c5674f6df19e7da392a32e1434d6c682b93cd2fd2dd6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityGroup.kt: app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityGroup.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is AssistantActivityGroupKt.groupConversationTimeline at line 90), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): keep LazyColumn keys unique when a transcript repeats a user message id\u201D; \u201Cfix(chat): show thinking content instead of empty reasoning cards\u201D; \u201Cfix(chat): disambiguate reused todowrite ids in the timeline\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 00:08:30 \u002B09:00\u0027 --until=\u00272026-11-16 00:08:30 \u002B09:00\u0027 --full-history --no-merges -- app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityGroup.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/AssistantActivityGroup.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f149ff1eb36b1be595388958aae3bd95cdf1939c1bbb3151905215508fcaaf2"}},{"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 \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060callID\u0060 spells \u0060ID\u0060 where 733 names in the project spell it \u0060Id\u0060: 733 of 739 names in project app spell the token \u0060Id\u0060 (733 of 739; unit: names in project app containing \u0060Id\u0060). Peers: CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/fdroid/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:23); CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:78); OpenCodeApi.session(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:20); OpenCodeApi.messages(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:27); OpenCodeApi.deleteMessage(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:29). Rename to \u0060callId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiModels.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a048ac460d684c6113b4fadc51181772f06d68a607f6df281e6ac75aa3abeba"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060projectID\u0060 spells \u0060ID\u0060 where 733 names in the project spell it \u0060Id\u0060: 733 of 739 names in project app spell the token \u0060Id\u0060 (733 of 739; unit: names in project app containing \u0060Id\u0060). Peers: CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/fdroid/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:23); CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:78); OpenCodeApi.session(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:20); OpenCodeApi.messages(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:27); OpenCodeApi.deleteMessage(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:29). Rename to \u0060projectId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3660825c6af2eec98d87b06d04e60b5cc8383af7e18c5fc892445e41d9c777f4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060parentID\u0060 spells \u0060ID\u0060 where 733 names in the project spell it \u0060Id\u0060: 733 of 739 names in project app spell the token \u0060Id\u0060 (733 of 739; unit: names in project app containing \u0060Id\u0060). Peers: CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/fdroid/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:23); CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:78); OpenCodeApi.session(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:20); OpenCodeApi.messages(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:27); OpenCodeApi.deleteMessage(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:29). Rename to \u0060parentId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0dedbc9fb7f5fd8810e57d61d7f001c8ed669b5dbff719d4fe88d88aa1124f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060providerID\u0060 spells \u0060ID\u0060 where 733 names in the project spell it \u0060Id\u0060: 733 of 739 names in project app spell the token \u0060Id\u0060 (733 of 739; unit: names in project app containing \u0060Id\u0060). Peers: CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/fdroid/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:23); CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:78); OpenCodeApi.session(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:20); OpenCodeApi.messages(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:27); OpenCodeApi.deleteMessage(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:29). Rename to \u0060providerId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c887bb02ba03f85124dbff6aca08de39314c610d81443881989bb3f445eb50"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060attemptID\u0060 spells \u0060ID\u0060 where 733 names in the project spell it \u0060Id\u0060: 733 of 739 names in project app spell the token \u0060Id\u0060 (733 of 739; unit: names in project app containing \u0060Id\u0060). Peers: CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/fdroid/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:23); CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:78); OpenCodeApi.session(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:20); OpenCodeApi.messages(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:27); OpenCodeApi.deleteMessage(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:29). Rename to \u0060attemptId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"175c1459637e32aeaa2c25dfdb3e55bc25ab0d5bbd08059995109310a91b0bd1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060integrationID\u0060 spells \u0060ID\u0060 where 733 names in the project spell it \u0060Id\u0060: 733 of 739 names in project app spell the token \u0060Id\u0060 (733 of 739; unit: names in project app containing \u0060Id\u0060). Peers: CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/fdroid/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:23); CrashReporter.recordRuntimeSessionError(runtimeId) (app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt:78); OpenCodeApi.session(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:20); OpenCodeApi.messages(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:27); OpenCodeApi.deleteMessage(sessionId) (app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt:29). Rename to \u0060integrationId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b78d2f9ee5c66c43f5b40a0a7d6f291916370304fa072580ef40559a302a7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060OpenAI\u0060 spells \u0060AI\u0060 where 30 names in the project spell it \u0060Ai\u0060: 30 of 31 names in project app spell the token \u0060Ai\u0060 (30 of 31; unit: names in project app containing \u0060Ai\u0060). Peers: SecureSettingsRepository.ttsOpenAiApiKey (app/src/main/java/com/yugahashimoto/andcode/data/connection/SecureSettingsRepository.kt:88); SecureSettingsRepository.ttsOpenAiVoice (app/src/main/java/com/yugahashimoto/andcode/data/connection/SecureSettingsRepository.kt:92); SecureSettingsRepository.ttsOpenAiModel (app/src/main/java/com/yugahashimoto/andcode/data/connection/SecureSettingsRepository.kt:96); AppPreferences.ttsOpenAiApiKey (app/src/main/java/com/yugahashimoto/andcode/data/settings/AppPreferencesRepository.kt:24); AppPreferences.ttsOpenAiVoice (app/src/main/java/com/yugahashimoto/andcode/data/settings/AppPreferencesRepository.kt:25). Rename to \u0060OpenAi\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/TTSProvider.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"320ab1deea401ac4c070f4f12a1f38307a5e778ea87cce1a515623e8066d2efe"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (67325 LoC, 1051 module-visible types across 41 directories) overshoots its size bounds. 1 of 2 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ca2f4e1cbcc84bf010a889b5e2cd34ca985c674f80891b0f288e779770d1"}},{"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":"7b9978a06677d90e194413d83c6be177f9830ab666815136be944d0c50e7032e"},"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":"a9b044d37dfcf12aa1d6837f3f19217865cbbc6e406bef8fc3c1253dd7ef0441"},"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":"f7f1347b3737c8fcac183e92d3fa902a3b50d924c2a428c040ca60ce20afa154"},"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":"52d8255915b5f563ba1baf959461609fd644f695b5fcd52da777b2cb18394ac9"},"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":"c9a27dd32ebb4b7dab352ad6cfa60b8b36a67496950ad5703445bd886c6656db"},"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":"4425c6cf7846c6e87a3dff68cce5d126b5280835203f6b56fd4cac2393285118"},"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":"2aacbb0201f186c6124182773460fa9f1cde41bade5731e7dc11315789361f74"},"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":"651b4dfa06770a2551c9cf0ac249f734942aca5b214365cedf17f4bfe9172582"},"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":"6168696e54f2242bc4ac7404c4d2765fc6a0e9922b99e79cd7e01596b486b190"},"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":"5fb774bc19ba6c6ad33117413779bc5b41b77e92e4c7eaddac2c234a2c7eaf65"},"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":"21d8cd9d949052ecdc7379045ab7e60cdd0d55e5e3a0fec1f3c6e0946107c23c"},"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":"e0ee7616b18bceeea33fe33f327e937355df568e68b291e8fd79e3ce72dc2063"},"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":"7ba3b2a2eb26dafaa046d7bf6e1152ac7edca63ef61864f4e12c2f3a645ddc15"},"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":"77e453cb0ed9de49996ab2c42cad20e3a843af1ff07395edbde1a3aac2d17f26"},"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":"b9a17bc756a6be36efb733d70768f46e34373b90e995ee3e79c5d2609b537366"},"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":"c79027347bf9af3defce8e3b2f4ae8f88a41d9daca87093154be0d13e7142159"},"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":"6834f64b41dfd1280dcbd079d3171638a09c7d7bfb2b09e98b0a44834cc6f695"},"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":"06f2b773b6fa04a12f10b4f37f8741fd608ac16b83faedfad064fabb8f7cd868"},"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":"6de95646a9a9d5ddf329b9e869970f14dbe654f3df569b8c620d884010c086d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"9624c953a91d9aad8100b3726dd641e95872c3bbc7a8979152a604959a8ecb87"},"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":"fcedfb3f37f295e1fa524ae1205360eb022f4ddee0be2fc11a2784b50419081b"},"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":"0783b41cc2dacdbfaeda8f0b5f7d607ebbf0ba08de10c863d98ae293205154df"},"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":"e9041653cccffb3af7464ca7b318108c12f0c8f109cc9ef04725712a4d4d053f"},"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":"e23f6224bbfe6070cc651b9f78f00c63b05515140798e80aa0b3c4e1355f1375"},"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":"5d8c574a506e3e21939dc515ed581edf69685770e1aa9a990bb7ee7b156db986"},"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":"78b50e880501ee446b5f2bec7692a47b73e270f59374015b9c66fa264265c23c"},"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":"e297c3b66f7965f4030a75eb665a02a715b675a537e88ef741221bd8e3e68582"},"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":"3c9a68930e44d81ff5567464f055611b0253f6f34dcc89290d0ab13c6e27c8ec"},"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":"9dafa5379b58cbadff63048f94285e160e01e8d20354c134b165ef607d4931bb"},"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":"fecca691eb35de4a384288070546354040437e7092629a2ce5388a983095244c"},"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":"e3d2eecde4e5977a2f852df497f75ce6955c3d7e612a8c8b26948588262c384f"},"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":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"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":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"101907159e3bb7d8afe7fa3e34f7c2a5a9da4668d93ae9cd3e6f1dd4ae43516b"},"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":"f33f08448d372bbe3db6c1d9147aa1391c03aa82c80dcb4619fcd2569de9b530"},"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":"3560cd7f949b4f538a22ed9a986c6e55f4f69e174223eb36106d95f643d6e20c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40b13e661977ec383b3447ceb5c9f2b5ad4da373f334fdb358e33166ce854f36"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LocalRuntimeTarget.kt \u2194 RemoteRuntimeTarget.kt: \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt\u0060 change together 92% of the time (12 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u006048259771\u0060 fix(opencode): keep proxied V1 servers reachable and gate V2 MCP OAuth; \u00606daa976f\u0060 feat: browse the whole sandbox filesystem and show diffs on changed f\u2026; \u00609c9f6052\u0060 feat(chat): add \u0022Edit \u0026 resend\u0022 for the last sent message \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d0e9498139f2253bd5dd6dc376024f9b87a606f33c76ea053291aada818e75"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Routes.kt \u2194 SettingsNavGraph.kt: \u0060app/src/main/java/com/yugahashimoto/andcode/ui/navigation/Routes.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/ui/navigation/SettingsNavGraph.kt\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a9a2b0f1\u0060 feat(codex): add MCP servers and apply pre-PR review fixes; \u0060dd09a199\u0060 feat(opencode): carry the system prompt preset into OpenCode too; \u006054f41984\u0060 feat(claude-code): add system prompt presets and clearer thinking-lev\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/ui/navigation/Routes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d8ce3b607798add7f84665215cba0622bda3f428264390f5e30877d812fce0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AndCodeApplication.kt \u2194 Routes.kt: \u0060app/src/main/java/com/yugahashimoto/andcode/AndCodeApplication.kt\u0060 and \u0060app/src/main/java/com/yugahashimoto/andcode/ui/navigation/Routes.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060e4b236f8\u0060 feat(terminal): run an interactive PTY shell in the embedded terminal; \u0060a9a2b0f1\u0060 feat(codex): add MCP servers and apply pre-PR review fixes; \u0060dd09a199\u0060 feat(opencode): carry the system prompt preset into OpenCode too \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/AndCodeApplication.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2749f8f3cc427a79bc53c2c9e6833322f3471643b1783f740b667673c93c0e49"}},{"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":"072c1b854004ec1a2ad7795f25598d10a4a82563bc9ac772e822442f7de3fb3c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.button\u0060 moves (\u0060transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease\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":"pages/index.html"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7604df1cde276a49146b9e29f597f29671f12d51753c41a8931a46c22e37f55"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.feature-card\u0060 moves (\u0060transition: transform 180ms ease, border-color 180ms ease, background 180ms ease\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":"pages/index.html"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea25b90f2231f4a12a4e7289965858857067f180b2c11f24cebd4e14e4009430"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OpenCodeApi (50 abstract methods): \u0060OpenCodeApi\u0060 declares 50 abstract methods: \u0060health\u0060, \u0060sessions\u0060, \u0060session\u0060, \u0060createSession\u0060, \u0060messages\u0060, \u0060deleteMessage\u0060, \u0060providers\u0060, \u0060agents\u0060, \u0060providerAuthMethods\u0060, \u0060authorizeProvider\u0060, \u0060setProviderApiKey\u0060, \u0060removeProviderAuth\u0060, \u0060completeProviderOAuth\u0060, \u0060projects\u0060, \u0060currentProject\u0060, \u0060pathInfo\u0060, \u0060files\u0060, \u0060fileContent\u0060, \u0060fileStatus\u0060, \u0060searchText\u0060, \u0060findFiles\u0060, \u0060vcsInfo\u0060, \u0060vcsStatus\u0060, \u0060vcsDiff\u0060, \u0060sessionDiff\u0060, \u0060sessionTodo\u0060, \u0060promptAsync\u0060, \u0060summarizeSession\u0060, \u0060abortSession\u0060, \u0060renameSession\u0060, \u0060deleteSession\u0060, \u0060archiveSession\u0060, \u0060mcpServers\u0060, \u0060addMcpServer\u0060, \u0060connectMcpServer\u0060, \u0060disconnectMcpServer\u0060, \u0060removeMcpAuth\u0060, \u0060mcpAuth\u0060, \u0060mcpAuthCallback\u0060, \u0060config\u0060, and 10 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApi.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e4e17836ff21a40420ed44a07b63f14c243c998a05a8f562236b904fc40ec5"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: VoskModelStore.install: \u0060VoskModelStore.install\u0060 saves \u0060Downloading\u0060, \u0060VoskModelState\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/wakeword/VoskModelStore.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aa0fafc52d8ca67cafe9a088e67592c9c67dc6abbd4a0cf4d89bdd67b5b9e0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: MessageEntity: \u0060MessageEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060sessionId\u0060, \u0060role\u0060, \u0060text\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060MessageEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/local/MessageEntity.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f411e4a92d19dc4117265aca2e7e3258bf6ae7f936ec09c888a420eb33ed54a1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SessionEntity: \u0060SessionEntity\u0060\u0027s public constructor takes \u0060id\u0060, \u0060title\u0060, \u0060directory\u0060, \u0060providerId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SessionEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/local/SessionEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9830089fce55f1c002f5be762416afd89f9562edc2e0dd0b07a927f3b73c7d9c"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/android.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060app/build.gradle.kts\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":"app/build.gradle.kts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170fb04fe78176a33c2b44461eeb0bf2839b74c80362ebf7185e17a3b446ff7"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!destination.exists() \u0026\u0026 backup.exists()\u0060 appears character-identically in 3 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityInstaller.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeEnvironmentActivation.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/VerifiedRuntimeDownloader.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityInstaller.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75ace4db1490cb21725e189ba9344bdfd3d9ffb6eafa432514e21a290f224ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment.url.startsWith(\u0022data:\u0022) \u0026\u0026 encoded.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/AttachmentImporter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityRuntime.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e1570150fc79fb667aa9fda1544a755b908a4480ec671b3897bf5ae548402d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060before.isNullOrBlank() || before == after\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeController.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityController.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd5c1bd984921a18462582acf66b83a2741c0980a1a06005ee886d95f85f6ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.setExecutable(true, false) || candidate.canExecute()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityInstaller.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeUpdater.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityInstaller.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a980253ca20b76e124d418cc7e82d758e0813d49f5c41770013065912f7373"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause !is OpenCodeApiException || cause.statusCode \u003E= 500\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt, app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"21100b350a773624810a2180d58a32311dd4bcd46fb61ce9d5e06c39c2275497"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060digest != null \u0026\u0026 SHA256_DIGEST.matches(digest)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82e799032ae63b8b4de11e7d5ac4b6b444c99bf39747f2305ae1ac79d19e75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enabled \u0026\u0026 !com.yugahashimoto.andcode.BuildConfig.DEBUG\u0060 appears character-identically in 2 files \u2014 app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/AnalyticsReporter.kt, app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/CrashReporter.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/github/java/com/yugahashimoto/andcode/core/diagnostics/AnalyticsReporter.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6270c243e534c45a2c62f465b60f8a629caef287dc4e8c2eb15a67a8bb2e92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint.isHttps || endpoint.host in LOOPBACK_HOSTS\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac14230b3a15f838a8e0e655a836d1c3b9ddaefceb6e341129fd1389a05df09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060form.baseUrl.isNotBlank() \u0026\u0026 form.normalizedUrl == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt, app/src/main/java/com/yugahashimoto/andcode/feature/workspace/RemoteConnectionScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/ConnectionDialog.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb9da45d0ffd89bcb2e6851dc7f2472216a76e3de7ef556bcb3ee3511085d92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.info.role == \u0022assistant\u0022 \u0026\u0026 message.info.model == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCodeTarget.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityTarget.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5989aa3bc4038c10ccafe37b2a1a924816bf4ae90837fe0faf48f33968c595bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.isBlank() || it.name.contains(query, true) || it.id.contains(query, true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt, app/src/main/java/com/yugahashimoto/andcode/feature/settings/ModelVisibilityScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/chat/ModelAndRuntimePickerSheet.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"36261598b7a7da44fd5ab63abab6898ef3032ff68d43a160a42198d825162b49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchQuery.isBlank() || provider.name.contains(searchQuery, ignoreCase = true) || provider.id.contains(searchQuery, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt, app/src/main/java/com/yugahashimoto/andcode/feature/settings/ProviderSettingsScreen.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/onboarding/AndroidSetupScreen.kt"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3819ab80e816994ed340d4b2bb59e2b1f2bd26233e694edad3b6a1ac52f66f5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sensitive || statusCode == 401 || statusCode == 403\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt, app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeApiClient.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"d869ac44f7daaf8669e0eb53a2e99a45f94bb96c5c02ab9f4ccd62e94e4a791b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status !is LocalRuntimeStatus.NotInstalled \u0026\u0026 status !is LocalRuntimeStatus.UnsupportedAbi\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt, app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeDiagnostics.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"917856aacf6fe3e837b566c498d842f207e1054cb2d41954d4484fffc2068f83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == ScheduleRunStatus.PENDING || status == ScheduleRunStatus.RUNNING\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleModels.kt, app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleRepository.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/schedule/ScheduleModels.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d3e270ecbee494b07720942978c21949276b97e2d88eb828c64a71de630923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this is LocalRuntimeStatus.Installing || this is LocalRuntimeStatus.Starting || this is LocalRuntimeStatus.Updating\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementScreen.kt, app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementScreen.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3c93d102c94f9b2301a2d9060e3a0a2a338517995e1ec0da95485254311044"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this is LocalRuntimeStatus.Ready || this is LocalRuntimeStatus.Stopped || this is LocalRuntimeStatus.Broken || this is LocalRuntimeStatus.No\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt, app/src/main/java/com/yugahashimoto/andcode/feature/workspace/LocalRuntimeManagementViewModel.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/OpenCodeAgentSettingsViewModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d03ed2bbf92e79a1ced65ecf10c7d929028fee0c47002873f27934dd173708a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/18 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: latest: \u0060latest\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/AntigravityReleaseClient.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf34652ad782a232e295a3067669765d6c398029d5820cea572912a2bf6949"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: fetch: \u0060fetch\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CustomProviderModelFetcher.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"666aeccd9fecb90cb5c0fbac4cb9223454976c77b136588518e93e19767fab67"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: check: \u0060check\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeReleaseClient.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf670c456b1ae42d1ae4dcd73452612e07d4845fdba01315f4599f45873a19d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: download: \u0060download\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/wakeword/VoskModelInstaller.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6837f980cd6a2cda8814422569570ab43eb227e23235db71403b82b5c2925dd"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: pollToken: \u0060pollToken\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d81c28d33da40737a7333fb5b01d50b4ddba0311d273ce1d2d793889c831d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: refreshAccount: \u0060refreshAccount\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d52659a66b6656ce6b5cefd12a41cc3a454b545b4dc5818ab31174416d0012"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: listRepos: \u0060listRepos\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add8d647939088176f45b20380417785ff7845a8aae032bfda760b22a7b3164"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: executeJson: \u0060executeJson\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/GitHubAuthRepository.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff012cf356f57ab160c39e1d6fd88bab306642e43dbe1dd069b67d40a05e052"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getPullRequests: \u0060getPullRequests\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1b901052b2b877b3101903b475b3f4b67468f293fd9980e97552efe6dbbe73"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getIssues: \u0060getIssues\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3632b1352de24cdb089c20500fa00c595a8644128dcbdd984dc974997e921c96"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getPullRequests: \u0060getPullRequests\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a91030ab43e421975b54e0335cc5bb1affefd531913bb338d8230bcfeb8a55"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getIssues: \u0060getIssues\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b007d4204c5d43541dc27aee1c2938efb312016202222177bfa911a18da4252f"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getPullRequests: \u0060getPullRequests\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5c9287b463cb40506f61181210886a7b4cf74362960aaac121f8ec3fe57f3b"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getIssues: \u0060getIssues\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"355cc504de6260dc862c2e75a75dd988f6623f47860a7884e2c0ef074cad1a6f"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getPullRequests: \u0060getPullRequests\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"449f1b8cbe69ddf4e9071c8ed8074f8497cd93abc34b41fd539db6b5d2c9df91"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getPullRequest: \u0060getPullRequest\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc56e2b97cefaba4a1550e082660b2aca9a742dc29edb991c18c96f86457e60"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: searchIssues: \u0060searchIssues\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e64653b42dcce602d9556a054f963fe4e9f05532f0e6c544dc827322893b363"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: fileContent: \u0060fileContent\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/OpenCodeV2ApiClient.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"62948cc8eb83fb2a505988c502b386f69b335f6b1ec8ce4735aca9d68a0b40c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"app/src/main/java/com/yugahashimoto/andcode/feature/assistant/CloudTTSProvider.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf66fe54123a0e00e846ceaf8c742014f86df045cde1ec055b0b47b0e80f1af1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/ConnectionQualityMonitor.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f7b22be4e27b320228653048ac117278accbae6b5d69874087012edd54449e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc44adbc790c77de103b6f840ae7d72fc5ed1c03b32aa8de99f71d6cc586b91"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPullRequests\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cff7a56322fa6204f08e85d52e4252461e171c1267cbfc78dbf415fd4fbf5d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getIssues\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5157185829710249d54ebb36c9ba77cc84719a0c2d24ebea16d3c81d98923374"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPullRequests\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ec088caba52eb258b8a64081f62aac07adaf90b8b0b9e46d54e1810d60aaa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getIssues\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aa34cd87277e719770ab288b9594f8e60ace73b0f340db02abbfcca3a9a47b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPullRequests\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b038f2954134a4e7289b71c08927643c1fe6b5ff8f34f24659954360ceddf405"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getIssues\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/ForgeClient.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7326aedda5500f8f18dfbc727b29ceef06778f82cddbc997f62d4abf097cc486"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPullRequests\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"811b3d00a6537d01e863d83d6917ff27591b5646d5b5539293cf1ae75fefa51c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060searchIssues\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/core/api/GitHubApiClient.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f8637a3ad51c09e60430c1351087724da2822ce1a0ca19d0c315f64a6ea977"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060connections\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/connection/SecureSettingsRepository.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"de56eb4cea287809a2edcda40f0c1a6bfa0d811c3a8a9dab0c6f872883682a6d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLanguage\u0060 swallows every exception into \u0060\u0022system\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/data/connection/SecureSettingsRepository.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"525165b8cd2f68c259c00d8dd362ba290f50050ea07291d9658721d5abd0f8b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadAssistantProviders\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/feature/settings/AssistantTargetResolver.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4028b2e80d1a303c3ab6d15c47b6e2663b179e63bac9ef1eece68f02212799c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060frontMatter\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudeCommandCatalog.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2e8a7e0c37df0b82a8e6798b9167d83bb07d389d53986cd180dd04964c66a2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadAlwaysRules\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/ClaudePermissionBridge.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b133b49426fc29d070108b9fd5082c745f1551049acb801eacf2985de62215"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeList\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/CustomProviderStore.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbde9a47618447d6f2051b7bb40a3c931a1aeb03e88c70c34516a53921d79a36"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeMap\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalProviderCredentialStore.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b957b0b6dcf8d08c245b67c47357b24c89d6e20c415d10ccd6b846656d9a54e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDirectChildPids\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeDiagnostics.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23093f374e5d2bb8f612f5196b672c807d3b406b38810c3281090ced9a2ce21"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060tail\u0060 swallows every exception into \u0060\u0022No runtime log was produced\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeProcessLauncher.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1435680d454243536b1b931f62f3ac49fa5dc6e3e01c8690c0a59e5d69d6d642"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listSessions\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/local/LocalRuntimeTarget.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdba488555832a7b627dfe81b453563241390a513a7f9008fabb0f517ac73ee"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listSessions\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/yugahashimoto/andcode/runtime/remote/RemoteRuntimeTarget.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e65c155a5c1436c1f3c447ea7f92ac26766e8375476869a3cae9576a6af92d4"}}],"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-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"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-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":44,"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."]}]}