{"$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":"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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"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":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D42","name":"Runtime Threat Enforcement","shortDescription":{"text":"Runtime Threat Enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/D42"}]}},"results":[{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): backend/scripts/stt/l_benchmark_prerecorded.py:228-266 | backend/scripts/stt/n_benchmark_02_prerecorded.py:262-304 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/l_benchmark_prerecorded.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6a362750bb5e09755feedce4ec55c4fe03d7c50104e6d08327e0410ba4b5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): .github/scripts/check_backend_deploy_source_admission.py:223-251 | .github/scripts/check_backend_deploy_source_admission.py:315-343 \u2014 both copies are in the same file, so extract the block 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 \u0060.github/scripts/check_backend_deploy_source_admission.py:223\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":".github/scripts/check_backend_deploy_source_admission.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"375d423f16c2f9978b45a41098f7e8857068d0dac3247bc6c45bb068c2b838cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): backend/utils/llm/chat.py:1249-1276 | backend/utils/llm/chat.py:1284-1311 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/llm/chat.py"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71f2f561db43593e245f7fdbc2ca9bfb3998f00035878fbd8ef96f94ff2b8f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): backend/utils/conversations/lifecycle.py:398-425 | backend/utils/conversations/lifecycle.py:468-494 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/conversations/lifecycle.py:398\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/conversations/lifecycle.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb50e779ae0481e7a373a8f30f849d5de6a438d06417482b1be89fb8eeeb33d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): backend/routers/apps.py:1231-1253 | backend/routers/apps.py:1270-1292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/routers/apps.py"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca01e1e4a631e0c8c707b176a1b85941af8b9383e3eb5b79d668c5ed84d6ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): backend/routers/auth.py:831-854 | backend/routers/auth.py:932-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 \u0060backend/routers/auth.py:932\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":"backend/routers/auth.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5c6c1240aec08b0cc857207edf1ac5cc6dea22e04478b24dbf99d4493c6c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): backend/scripts/runtime_env_validation/cloud_run.py:49-71 | backend/scripts/runtime_env_validation/cloud_run.py:83-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/runtime_env_validation/cloud_run.py:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/runtime_env_validation/cloud_run.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc505bd2957a46ac78463502888d493fe208397c3086c668061e1895acc1687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): backend/scripts/stt/m_benchmark_streaming.py:344-366 | backend/scripts/stt/n_benchmark_02_prerecorded.py:245-267 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/stt/m_benchmark_streaming.py:344\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":"backend/scripts/stt/m_benchmark_streaming.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e44e68da7dafd546cf972c3cfba7883a5e8f1e9881dddec0cc531cf268e507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:471-492 | backend/testing/chaos-oom/pusher_vuln.py:410-431 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac4bdce19f296fd015407b85cead645f24f762e08df3675051dea26d2b88fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): backend/database/memory_apply_store.py:379-399 | backend/database/memory_apply_store.py:782-802 | backend/database/memory_apply_store.py:839-859 \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 \u0060backend/database/memory_apply_store.py:379\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":"backend/database/memory_apply_store.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"36afddb8aa5e236d3af1094c763dfd047a3d2e024a478fc2c0d7731ad63c5e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): backend/routers/auth.py:420-440 | backend/routers/auth.py:521-541 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/auth.py:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/auth.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b01fb595f261fbbffc8d78df41a58727b061aa4fb0ea7c6b9e6660fa5c92097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:423-443 | backend/testing/chaos-oom/pusher_vuln.py:364-384 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/testing/chaos-oom/pusher_fixed.py:423\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":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee7ce2f813a9beacec405d1d9d8caaeef966ea8fa319e87937de0a12d2206cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): backend/database/chat_first_intents.py:198-218 | backend/database/chat_first_intents.py:255-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/database/chat_first_intents.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"34baef40900a4049454076117ca267b547c3a00fe66b23eb1c49d9c322cda786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): backend/scripts/stt/r_ab_modulate_compare.py:80-98 | backend/scripts/stt/r_modulate_stability.py:79-97 | backend/scripts/stt/r_silence_sweep.py:75-93 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/r_ab_modulate_compare.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0526152239e7ee1c4e7ada568828fe8a6ca5033848d367049272e49d86ec777e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): backend/routers/auth.py:877-895 | backend/routers/auth.py:976-996 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/auth.py:877\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/auth.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"33286a6dd4d0cd13bfe9905fffe38f727f953742fbd6ec3298626fb297cda3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): backend/scripts/app_key_memory_grant_assignment_readiness.py:256-274 | backend/scripts/mcp_api_key_scope_readiness.py:209-227 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/app_key_memory_grant_assignment_readiness.py:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/app_key_memory_grant_assignment_readiness.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22e2da1ad2d822ab2f9cd95cf5068a54993c7504be22a8f26ef41e15d6eb3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): backend/scripts/inventory_app_client_schemas.py:489-507 | backend/scripts/inventory_app_client_schemas.py:570-588 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/inventory_app_client_schemas.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ed0c84523077b80ab98ff296f3a72a92651e8b2c07617e946ad043d2789091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:354-372 | backend/testing/chaos-oom/pusher_vuln.py:297-315 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d73b819e3170730f26951ca5a1d333ee87110cf73c527425ec07520a2616424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): backend/utils/memory/canonical_memory_adapter.py:1827-1845 | backend/utils/memory/canonical_memory_adapter.py:1871-1890 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/memory/canonical_memory_adapter.py:1827\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":"backend/utils/memory/canonical_memory_adapter.py"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e7a2fe5e971e3b22e8531995251a774cb86cb5927912e6f34f9a2365509240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): backend/agent-proxy/main.py:654-671 | backend/agent-proxy/main.py:684-701 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36e719cde1b615ab8b85cd3a28e03182b850acd3daca71f11bae80a2b783a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): backend/diarizer/embedding.py:75-92 | backend/diarizer/embedding.py:110-127 \u2014 both copies are in the same file, so extract the block 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":"backend/diarizer/embedding.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48a47a4cbf322982f34f8c6eb0be7202e797c100d34011b5b4076200dbcf41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): backend/llm_gateway/gateway/providers.py:108-125 | backend/llm_gateway/gateway/providers.py:156-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/llm_gateway/gateway/providers.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2596204930900c1574be6d169a1ce83a12c3be8f14b2184cc9aee8415b4e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): backend/routers/integration.py:67-84 | backend/routers/notifications.py:48-65 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/integration.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88928d5605ae164cd4b5b5f959c470c682a701aad1506a5bdb825f406a82de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): backend/scripts/stt/t_benchmark_multilang.py:173-192 | backend/scripts/stt/t_benchmark_multilang.py:292-309 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/t_benchmark_multilang.py:173\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":"backend/scripts/stt/t_benchmark_multilang.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"483b871dde4020c4a2f944b0bfec8677ce9351191af81ac10e8717429db63019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): backend/testing/replay_harness_phase0a/scenario.py:311-334 | backend/testing/replay_harness_phase0a/scenario.py:339-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/testing/replay_harness_phase0a/scenario.py:311\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":"backend/testing/replay_harness_phase0a/scenario.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73a5f9cde307721784b8117fa5fe5ab15d2e07744dd21bcaeb7deb697e1c9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/database/conversations.py:377-395 | backend/database/conversations.py:453-469 \u2014 both copies are in the same file, so extract the block 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":"backend/database/conversations.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2621ed63e3575ee89f9abf4a415fea80d6240aa427039dedad6c8846181192d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/routers/pusher.py:322-340 | backend/testing/chaos-oom/pusher_fixed.py:288-304 \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 \u0060backend/routers/pusher.py:322\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":"backend/routers/pusher.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d3943b53c69c02f03af49fbd353f19a14c625a40f18f07e80d636f6b118074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/scripts/inventory_app_client_schemas.py:1029-1045 | backend/scripts/stlt_lifecycle_proof.py:71-87 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/inventory_app_client_schemas.py:1029\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":"backend/scripts/inventory_app_client_schemas.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4383b49273700c64b4a10850b5a7799054587ccf3e52e7b94a9c5974eee304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/scripts/stt/m_benchmark_streaming.py:287-303 | backend/scripts/stt/m_benchmark_streaming.py:324-340 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/m_benchmark_streaming.py:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/m_benchmark_streaming.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53b36546e2bf98c66420ead7818b82010f671c45bd654bf29e1e6e752f37eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/scripts/stt/n_benchmark_02_prerecorded.py:200-216 | backend/scripts/stt/n_benchmark_02_prerecorded.py:232-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 \u0060backend/scripts/stt/n_benchmark_02_prerecorded.py:200\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":"backend/scripts/stt/n_benchmark_02_prerecorded.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62df5606138408a6482fb655254177587c30747d1d32266b97ffdc272810d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/scripts/stt/r_modulate_stability.py:187-203 | backend/scripts/stt/r_silence_sweep.py:181-198 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/r_modulate_stability.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd72e37f42a095a334a61d1ebad5843d4d10bf37775bb527515e18cf89e1f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): backend/utils/memory/canonical_consolidation.py:1773-1789 | backend/utils/memory/canonical_consolidation.py:1828-1845 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/memory/canonical_consolidation.py:1773\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/memory/canonical_consolidation.py"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"87111b895901b228a321590367d704e63902be87cf15bb24778b1b3ffbcd8edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): backend/routers/pusher.py:437-452 | backend/routers/pusher.py:589-604 | backend/routers/pusher.py:662-677 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/pusher.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5412597cbc4040a3ecba27bc19315392c76634bc2d95ab91450b9c885fa1ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): .github/scripts/desktop_backend_candidate_probe.py:265-280 | .github/scripts/desktop_backend_candidate_probe.py:318-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/desktop_backend_candidate_probe.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3255fc076788a889db774a8c0fc8d35408b5e38df2e3aaf49b3d34058e2ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/database/recurrence_inbox.py:163-180 | backend/database/recurrence_inbox.py:199-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/database/recurrence_inbox.py:163\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":"backend/database/recurrence_inbox.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97634db6fd838d15d9cc078069bf7dc69c8f52f9a7ed3b08fec2354792b27f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/routers/chat.py:513-528 | backend/routers/chat.py:1509-1524 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/chat.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76f598ff00949c0b61afa2ede29a48247c8c2f9a75b773a9a51fea33eacb519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/routers/developer.py:633-648 | backend/routers/developer.py:669-684 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/developer.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"687fc57c5c092e7819d537dcf94d497d6a810b58d8dcc43f1710ba02eb4fad72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/routers/integration.py:397-412 | backend/routers/integration.py:527-542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/integration.py:397\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":"backend/routers/integration.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6551cb3a3f7007e910e9759a5bdc467083519102d5b85451923dd68ed80a790b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/routers/sync.py:512-527 | backend/routers/sync.py:913-928 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/sync.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"53420a8aa2545ab0b92f686e7dc66e1f866fbf56a1e803e9d2ebd2ff29e9b1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/routers/task_integrations.py:735-750 | backend/routers/task_integrations.py:875-890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/task_integrations.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a866baab9e23090a0a9138c4e3c74ba7963907a467a7e6ba7c3981789d31de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/scripts/check_module_stub_pollution.py:269-284 | backend/scripts/scan_import_time_side_effects.py:437-452 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/check_module_stub_pollution.py:269\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/check_module_stub_pollution.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"317e5a4a9c2cb33603a260bb01b3a7eafb2c9453538a4304492038a5e80a2ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/scripts/stlt_lifecycle_proof.py:333-348 | backend/scripts/stlt_lifecycle_proof.py:384-399 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stlt_lifecycle_proof.py:333\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":"backend/scripts/stlt_lifecycle_proof.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b06d6cefd92f5f9079f8c159948242df4e26f03ec0a19823278854adcd89a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:167-182 | backend/testing/chaos-oom/pusher_vuln.py:143-158 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f0f09d7138432f9ddaa98327557fe68079bfd4d57bcd4847794ea06f460dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:251-266 | backend/testing/chaos-oom/pusher_vuln.py:195-210 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/testing/chaos-oom/pusher_fixed.py:251\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":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b825724df554aa1bc92ba2a3d3ea11b3369fa81c2a6bb9fea47c530c3766b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/utils/app_integrations.py:222-240 | backend/utils/app_integrations.py:824-839 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/app_integrations.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f4fde557862b8d515bf683b1d1e629c185a48c42d134893963206aa2123739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): backend/utils/llm/knowledge_graph.py:153-168 | backend/utils/llm/knowledge_graph.py:249-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/knowledge_graph.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4375f20d75426e2b1aa723c4cd171514d0d2ff1814c3d794a248346fa6ec0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): backend/llm_gateway/routers/anthropic_messages.py:128-142 | backend/llm_gateway/routers/anthropic_messages.py:147-161 | backend/llm_gateway/routers/anthropic_messages.py:166-180 | backend/llm_gateway/routers/anthropic_messages.py:208-222 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/llm_gateway/routers/anthropic_messages.py:128\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":"backend/llm_gateway/routers/anthropic_messages.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e369f2f3da49c6e2b8589848ff0f076c660355aeb59f3ef346008731c48534c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): backend/scripts/stlt_lifecycle_proof.py:306-320 | backend/scripts/stlt_lifecycle_proof.py:329-343 | backend/scripts/stlt_lifecycle_proof.py:358-372 | backend/scripts/stlt_lifecycle_proof.py:380-394 \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 \u0060backend/scripts/stlt_lifecycle_proof.py:306\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stlt_lifecycle_proof.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f7e6afc29bae7a778b5438380321129f8994cde1023944de112b764099135c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): backend/llm_gateway/routers/anthropic_messages.py:357-371 | backend/llm_gateway/routers/anthropic_messages.py:379-393 | backend/llm_gateway/routers/anthropic_messages.py:401-415 \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 \u0060backend/llm_gateway/routers/anthropic_messages.py:357\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":"backend/llm_gateway/routers/anthropic_messages.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1425f6363666f9a81be9823c9a9e3e84e41f5c7a55db0ef3b686ca7de28597b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/database/users.py:1710-1724 | backend/database/users.py:1822-1836 \u2014 both copies are in the same file, so extract the block 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":"backend/database/users.py"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5a35635a043d6d7da4fb576b86791860b562415a59748595ee6091cab13ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/routers/auth.py:381-395 | backend/routers/auth.py:467-484 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/auth.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"724bcdc16d8cba2aced2ece56f2f214d79bb7558889692d28e64bbdc40852f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/routers/auth.py:756-770 | backend/routers/auth.py:782-796 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/auth.py:756\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/auth.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a7ade53f1a3fca8fb757187057a7ab1ba2ae7b915931e9db68783236cf958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/routers/pusher.py:612-626 | backend/routers/pusher.py:631-645 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/pusher.py:612\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":"backend/routers/pusher.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1a92c775a714d7bd3a594883b7073ea5261516d1892315ecbdbbc67a167519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/scripts/runtime_env_validation/cloud_run.py:212-226 | backend/scripts/runtime_env_validation/cloud_run.py:252-266 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/runtime_env_validation/cloud_run.py:212\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":"backend/scripts/runtime_env_validation/cloud_run.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb11e0d7f02d26fda66f1282ef3f29a3b2c36157147ab03bddb431b2c3f9f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/scripts/verify_pusher_rollout_budget.py:117-131 | backend/scripts/verify_pusher_rollout_gate.py:135-149 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/verify_pusher_rollout_budget.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c8fcc244630a74730352d6c163a8178cfb9afbe696c4b76330cd03a51f8ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:294-308 | backend/testing/chaos-oom/pusher_vuln.py:237-251 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"455a0550710deed38d63b94722a3728eadf9f8315f183be7f420a7e90a8b8a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): backend/utils/memory/bulk_legacy_backfill.py:397-411 | backend/utils/memory/bulk_legacy_backfill.py:435-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/memory/bulk_legacy_backfill.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4f35acfc8de6ae17eb71c906b8f3c9f77dd85b746573e78c6669f93e1389df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): backend/scripts/stlt_lifecycle_proof.py:276-289 | backend/scripts/stlt_lifecycle_proof.py:308-321 | backend/scripts/stlt_lifecycle_proof.py:331-344 | backend/scripts/stlt_lifecycle_proof.py:360-373 | backend/scripts/stlt_lifecycle_proof.py:382-395 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stlt_lifecycle_proof.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2387df44aee1a01b28586894d9832060c1e6e06756cb1ad0eb9a16e59f8acbf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): backend/routers/integration.py:244-257 | backend/routers/integration.py:330-347 | backend/routers/integration.py:444-457 | backend/routers/integration.py:638-657 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/integration.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fb78813b2ba2bdf21927b03dc625030bc5de975a81693b8290f1a939bbe778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): backend/database/helpers.py:126-146 | backend/database/helpers.py:194-208 | backend/database/helpers.py:248-261 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/helpers.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1130fa9f9c54f2f23937c46b4d8b9c3ca2546470bdf901c359e4fcf2f5683d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): backend/scripts/export_openapi.py:739-752 | backend/scripts/export_openapi.py:771-784 | backend/scripts/export_openapi.py:801-814 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/export_openapi.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a91b6b6d4e6e8437213f4fe5d285e692b55779b5294e22f4b251f36cfab3d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/database/candidates.py:773-786 | backend/database/candidates.py:830-843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/database/candidates.py"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b6280ff09035c0a86fdd25ca63b514ad40c5577eb6e793d6fb959e067ecd2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/database/memories.py:409-422 | backend/database/memories.py:762-775 \u2014 both copies are in the same file, so extract the block 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":"backend/database/memories.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"479e72a91bb81b607d528b268f9b20f42311524875a546d0aba0cd657c7e60fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/llm_gateway/routers/openai_compatible.py:141-154 | backend/llm_gateway/routers/openai_compatible.py:199-212 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/llm_gateway/routers/openai_compatible.py:141\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":"backend/llm_gateway/routers/openai_compatible.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b0094abafcc163735fb5f6aa799c034ff76abba909d2f4c23cb5549fcd043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/scripts/app_key_memory_grant_assignment_readiness.py:299-312 | backend/scripts/mcp_api_key_scope_readiness.py:241-254 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/app_key_memory_grant_assignment_readiness.py:299\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/scripts/app_key_memory_grant_assignment_readiness.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8277b008a131b4983fb45d6868dad21e9b1295e12966e1803363aaace5ddaaa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/scripts/runtime_env_validation/workflows.py:475-488 | backend/scripts/runtime_env_validation/workflows.py:521-534 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/runtime_env_validation/workflows.py:475\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":"backend/scripts/runtime_env_validation/workflows.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fb8fef6cd8b0d99f7f79823c096d098e779d114dbe9e8f9b5f51f9df4a1f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/scripts/stt/u_benchmark_parakeet_prerecorded.py:116-129 | backend/scripts/stt/u_benchmark_parakeet_prerecorded.py:135-148 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/stt/u_benchmark_parakeet_prerecorded.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8fbc4415fdb02a33293ed25f59cfc585969b3a408a42fa3b961d8ad8e77ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/scripts/stt/v_benchmark_parakeet_streaming.py:179-192 | backend/scripts/stt/v_benchmark_parakeet_streaming.py:197-210 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/stt/v_benchmark_parakeet_streaming.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddfcbad3d44753e68b8d87d000a06a125de3643f63fabbd59591c6cbd1810f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/testing/chaos-oom/load_generator.py:25-38 | backend/testing/chaos-oom/load_generator.py:75-88 \u2014 both copies are in the same file, so extract the block 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":"backend/testing/chaos-oom/load_generator.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"df48f3226b65dc7409cdb46999014c70af5c7faa6ecce17f12f75152768ecddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/utils/conversations/memory_extraction_telemetry.py:160-173 | backend/utils/integration_telemetry.py:175-188 \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 \u0060backend/utils/integration_telemetry.py:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/conversations/memory_extraction_telemetry.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f454e5e171773848419cdf618597c33fa30b625fba0ef59f8d26fa460ca2cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/utils/llm/knowledge_graph.py:176-189 | backend/utils/llm/knowledge_graph.py:271-284 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/llm/knowledge_graph.py:176\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/knowledge_graph.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"77783cb6577dcc067a978e1721cdfab6f622e8580a51225af6afa8493f8c4792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): backend/utils/memory/canonical_required_processing.py:666-679 | backend/utils/memory/canonical_required_processing.py:744-757 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/memory/canonical_required_processing.py:666\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":"backend/utils/memory/canonical_required_processing.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b88a7d5f9cfa228f7699da80b5e1bf68a84243b080d61339a11782756f165d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): backend/database/task_recommendations.py:331-343 | backend/database/task_recommendations.py:389-401 | backend/database/task_recommendations.py:448-460 \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 \u0060backend/database/task_recommendations.py:331\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":"backend/database/task_recommendations.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb45cfb937dcc3a7450f71dda193b4ae650d0c82461ab698085ca899af79f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/database/apps.py:419-431 | backend/database/apps.py:447-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/apps.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f3d88e86df67b97c08030de26dc490d9c1e28eec1fc09feffde147027f6f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/database/goals.py:615-627 | backend/database/goals.py:665-680 \u2014 both copies are in the same file, so extract the block 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":"backend/database/goals.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd4db7950bab060d883049922ae5cbef727dcf32659aeda0a4872ba8dd18194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/database/memory_outbox_worker.py:776-788 | backend/jobs/short_term_lifecycle_worker.py:173-185 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/database/memory_outbox_worker.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"61154197f60c2085ec867fbf86e81771ed19d688afd6644e2ee7cf3f33cf9510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/database/notifications.py:328-340 | backend/database/notifications.py:373-385 \u2014 both copies are in the same file, so extract the block 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":"backend/database/notifications.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"de58fa21da7a3be27d955827af1d3bea0fd32e0c419d37dc2bef8a3aecd5b4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/database/task_recommendations.py:773-785 | backend/database/task_recommendations.py:880-892 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/task_recommendations.py:773\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":"backend/database/task_recommendations.py"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc1b83555079784e45a4e8dd3aee4c80faf722b2cef317605ff17685bb7fd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/jobs/short_term_lifecycle_worker.py:227-239 | backend/utils/memory/canonical_required_processing.py:444-460 \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 \u0060backend/jobs/short_term_lifecycle_worker.py:227\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":"backend/jobs/short_term_lifecycle_worker.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"edad7e7892b6c90ba18c81912e3b342aa326b4e2bd3ce9c7286622d2202261f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/llm_gateway/routers/openai_compatible.py:331-343 | backend/llm_gateway/routers/openai_compatible.py:384-396 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/llm_gateway/routers/openai_compatible.py:331\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/llm_gateway/routers/openai_compatible.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea5067318394c5d281a4c88eadf0cd96d535f97d52e005a040e5ce07bbe7170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/routers/auth.py:860-873 | backend/routers/auth.py:960-972 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/auth.py:860\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":"backend/routers/auth.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"713493facaab94d9db9f45e6ef4641d8c7915e486a7027e02012aa9515870780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/routers/chat.py:1393-1405 | backend/routers/chat.py:1453-1465 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/chat.py:1393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/chat.py"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f631b3a768b42bfaa4cb512d741f5e1c535d039b2880ea83c011e1288335fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/routers/desktop_agent_vm.py:756-768 | backend/routers/desktop_agent_vm.py:797-809 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/desktop_agent_vm.py:756\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/desktop_agent_vm.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"009f1d328164e053d2eb599017fa37c91dec2d68e0979241626e4b6df0ac69b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/routers/desktop_chat.py:1127-1139 | backend/routers/desktop_chat.py:1282-1296 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/desktop_chat.py:1127\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":"backend/routers/desktop_chat.py"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad9d2144a5e0ad61a2f93462b12428af0b30d88093fe0a7dabcba0e15e6b9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/scripts/check_module_stub_pollution.py:208-221 | backend/scripts/scan_import_time_side_effects.py:378-390 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/check_module_stub_pollution.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e670f182701445ddabd8c1bd29eab396a9eaea5d4cf87ecdd46171e6e14d9cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/scripts/export_openapi.py:485-497 | backend/scripts/route_policy_inventory.py:794-806 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/export_openapi.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb661235cc558c62c436c5dd1a6a3c5c35ba6f8f0abba9ff49b85bfe0aed86b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/scripts/rag/current.py:121-133 | backend/scripts/rag/current.py:196-208 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/rag/current.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e5b62a2450cb619823eafa7096968a88662fa32597db6402b446b0a86ced80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/scripts/stt/l_benchmark_prerecorded.py:194-206 | backend/scripts/stt/l_benchmark_prerecorded.py:211-223 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/stt/l_benchmark_prerecorded.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4476a292df7ccbded6d8974f96e962e33c76e665e5f4b6aba74eeb787e7835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/scripts/verify_pusher_rollout_budget.py:226-238 | backend/scripts/verify_pusher_rollout_budget.py:250-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/verify_pusher_rollout_budget.py:226\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":"backend/scripts/verify_pusher_rollout_budget.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f55a64db1dc13d8dbd79e9d9b074ce6bcfa623cca17ab830a5d37daafcc0f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:121-133 | backend/testing/chaos-oom/pusher_vuln.py:97-109 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e676c6f98438fce4fd88ec0bfd43c032e8b132429cd638b483c5a16394e7b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/utils/conversations/location.py:44-56 | backend/utils/conversations/location.py:114-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/conversations/location.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f88650f79060bceb0db9523a031430b7d1fd7be535d5e3757029797fb8a752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/utils/conversations/memories.py:142-155 | backend/utils/conversations/memories.py:201-213 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/conversations/memories.py:142\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":"backend/utils/conversations/memories.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe64fdcf415efcba39c0c4bc5813362422aa1ef8c701df90ac93a531c617b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/utils/llm/knowledge_graph.py:122-134 | backend/utils/llm/knowledge_graph.py:216-228 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/llm/knowledge_graph.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af5415a44ef549a29a953b7658973c5350d0aec8e2650f3aa8be51253383b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): backend/utils/memory/canonical_memory_adapter.py:1882-1894 | backend/utils/memory/canonical_memory_adapter.py:1941-1953 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/memory/canonical_memory_adapter.py"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b2a7bcc002739b42e8b8deb469d849bc959769738e18863b9a4613545f6be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): backend/scripts/stt/n_benchmark_02_prerecorded.py:162-173 | backend/scripts/stt/o_benchmark_02_streaming.py:170-181 | backend/scripts/stt/u_benchmark_parakeet_prerecorded.py:80-91 | backend/scripts/stt/v_benchmark_parakeet_streaming.py:145-156 | backend/scripts/stt/w_benchmark_parakeet_multilang.py:79-90 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/n_benchmark_02_prerecorded.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d679a36b3bf3db3150c1f439d96eacac84993725d38219410dbc846357ca12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): backend/database/user_usage.py:329-340 | backend/database/user_usage.py:362-373 | backend/database/user_usage.py:392-403 | backend/database/user_usage.py:421-432 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/user_usage.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fab9d22d4821160f3ad38a1bcf7e437c083093ea10ed2c97200068deb97bcfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): backend/routers/integration.py:369-380 | backend/routers/integration.py:673-684 | backend/routers/integration.py:686-697 | backend/routers/integration.py:699-710 \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 \u0060backend/routers/integration.py:369\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":"backend/routers/integration.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"535973deab4886abb9274c496c9f76b6aed463f24bde6ad1ae9cee6a4e5cb515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): backend/database/goals.py:525-536 | backend/database/goals.py:612-623 | backend/database/goals.py:662-673 \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 \u0060backend/database/goals.py:525\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":"backend/database/goals.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"69757ed6b3a35bc150510cf1d5e1a049f6184bb4cde4578e210b322a5bb3bcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): .github/scripts/check_backend_deploy_source_admission.py:410-421 | .github/scripts/check_release_eligibility.py:103-114 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/scripts/check_backend_deploy_source_admission.py:410\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":".github/scripts/check_backend_deploy_source_admission.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"057b1a270d113cfd148263104325775af980c27d8462aaf4bce29d2febf98680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): .github/scripts/desktop_backend_candidate_probe.py:103-114 | .github/scripts/desktop_backend_candidate_probe.py:133-145 \u2014 both copies are in the same file, so extract the block 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 \u0060.github/scripts/desktop_backend_candidate_probe.py:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/desktop_backend_candidate_probe.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f550fc55d658f8ea7d43ac204c8f09515ecbce9589f132faf572b20103aec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/database/announcements.py:22-33 | backend/database/announcements.py:55-66 \u2014 both copies are in the same file, so extract the block 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":"backend/database/announcements.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4323696b1e9e9e1ec2d3de1c1ca98f4ad59144ac1b4ca1c7ae1de9db4b403080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/database/chat.py:105-117 | backend/database/chat.py:129-140 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/chat.py:105\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":"backend/database/chat.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b493af945eb8c609b99e8524c9bde122ce0ab7d85fa14c99f6f054219567ece6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/database/mcp_oauth.py:564-575 | backend/database/mcp_oauth.py:603-614 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/mcp_oauth.py:564\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/mcp_oauth.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fc06d4b6e15c9de8738c883453510523ad930974f73d7c2e63b1b0a4ce41f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/database/workstreams.py:413-424 | backend/database/workstreams.py:542-554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/database/workstreams.py:413\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":"backend/database/workstreams.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6380d1733c6e0f35d2acef2535c488515da12b645cd7f13ebf512d3a0d3abf77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/parakeet/main.py:196-207 | backend/parakeet/main.py:252-263 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/parakeet/main.py:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/parakeet/main.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"601b3e9661cc30d90158d49675d8a2e37feb895e4546a2c6bf268dc579b4fc64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/parakeet/main.py:221-232 | backend/parakeet/main.py:287-299 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/parakeet/main.py:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/parakeet/main.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7489e6781b8dc39f83b43685759bacc23ffd10e3b1cd90dde16419e8d5f827de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/routers/integrations.py:485-496 | backend/routers/task_integrations.py:661-672 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/integrations.py:485\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":"backend/routers/integrations.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4266d518390f2ce887f6ff24f6d23ddf00668f0e43a4fa77723935a5d8b39582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/routers/memory_product.py:115-126 | backend/routers/memory_product.py:223-234 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/memory_product.py:115\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":"backend/routers/memory_product.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a3597f80c31ed88e10c996ecc50609d200f182d488ee51cf16ed8cd041c253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/routers/staged_tasks.py:546-557 | backend/routers/staged_tasks.py:630-641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/staged_tasks.py:546\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/staged_tasks.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa5f8ec9e42d9a73e9d4ac1d921fe21d4b1e8d171bd45007876c16259e3b580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/routers/sync.py:1698-1709 | backend/routers/sync.py:1838-1849 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/sync.py"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d39a79b8e28eb2daf230669307cca8057f8f0a7f4d8354a00bfce6f1d3c0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/routers/task_integrations.py:413-424 | backend/routers/task_integrations.py:493-504 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/task_integrations.py:413\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":"backend/routers/task_integrations.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2535b222f5ed470d990ed9c4db51173377a5a7269e0e1caddbe30cbf0dcf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/routers/task_integrations.py:536-547 | backend/routers/task_integrations.py:576-587 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/task_integrations.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a363700ac1b473a061a3c3875d671878b8f157e43b7a3282f7792e4b9b2b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/scripts/route_policy_inventory.py:937-948 | backend/scripts/route_policy_inventory.py:959-970 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/route_policy_inventory.py:937\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/scripts/route_policy_inventory.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d14a13a5125cacf952b3d814b6c22b5f9b387d112b6dbd747c33ee096315eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/scripts/stt/g_pyannote_api.py:14-25 | backend/scripts/stt/h_brainstorming.py:88-99 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/g_pyannote_api.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea761c29fcc9967744a0eb052b14d8dbcc4569295ccc822c1b0fd4b9bed4884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/scripts/stt/l_benchmark_prerecorded.py:155-166 | backend/scripts/stt/m_benchmark_streaming.py:247-258 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/l_benchmark_prerecorded.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b205b0e6f30d47a9cc6721b2462477222ffd26382f0de7796bdde9ed137ee5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/scripts/stt/r_modulate_stability.py:155-166 | backend/scripts/stt/r_silence_sweep.py:147-158 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/scripts/stt/r_modulate_stability.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcec9d729f7db09927e956a2e0d8275de3d676f8e028c6dd42c9b7f84c61f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/scripts/users/chats_analysis.py:131-143 | backend/scripts/users/chats_analysis.py:182-193 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/users/chats_analysis.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af34e623ac6860f4e9157b5108503e9a5165fe649aab20f219e6428158670c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/scripts/vector_repair_outbox_worker_entrypoint.py:122-133 | backend/scripts/vector_repair_outbox_worker_entrypoint.py:263-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/vector_repair_outbox_worker_entrypoint.py:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/vector_repair_outbox_worker_entrypoint.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b19c21c59dea63479f35fee1fcf244999cdc5927a0671b3bfed89508a56e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/testing/chaos-oom/load_generator.py:58-70 | backend/testing/chaos-oom/load_generator.py:104-115 \u2014 both copies are in the same file, so extract the block 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":"backend/testing/chaos-oom/load_generator.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1448702e466b41570b793fb44ac2fab3a1bc64e3a728cbb49107d1f5234c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/utils/apps.py:276-287 | backend/utils/apps.py:494-505 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/apps.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd8df10cb670282a4ccd4e7278fa3200deeae98dbc02f2fbc0720a805b5d467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): backend/utils/conversations/location.py:16-27 | backend/utils/conversations/location.py:83-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/conversations/location.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"601e3fc8693f1fb50134732c8f59d7adea79038d7a784cf38e9bd7cc8b3cb8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): backend/database/users.py:612-624 | backend/database/users.py:627-640 | backend/database/users.py:643-655 | backend/database/users.py:658-668 \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. 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":"backend/database/users.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9650b7c802ecd26fcbe37906dfb3fb9f2625e7c619dfef15c16697bb32f75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): backend/routers/task_integrations.py:455-465 | backend/routers/task_integrations.py:533-543 | backend/routers/task_integrations.py:573-583 \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 \u0060backend/routers/task_integrations.py:455\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/task_integrations.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6b63fcd303dcf6757a48056b0b81092293054831bd74ccfe5df1e840438e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .github/scripts/check-release-process-guards.py:813-823 | .github/scripts/check-release-process-guards.py:832-842 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check-release-process-guards.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"985e757f2ad1e97e8637e74c435fdf4016476dc7d7b94055cff4eb77cd492388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .github/scripts/check_analytics_reachability.py:135-145 | .github/scripts/check_analytics_reachability.py:171-181 \u2014 both copies are in the same file, so extract the block 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":".github/scripts/check_analytics_reachability.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64bfb58465a940aec554e2b7a08822cc39a2ac87bb00eb3828f8fc3bfb77409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .github/scripts/check_backend_deploy_source_admission.py:70-80 | .github/scripts/check_release_eligibility.py:23-33 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_backend_deploy_source_admission.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac4a0466a78f26bd2b21e96cb40cf0c44c0d2d4fdc56123f2d2b74d430a5928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .github/scripts/check_backend_deploy_source_admission.py:87-97 | .github/scripts/check_release_eligibility.py:40-50 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_backend_deploy_source_admission.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed41b858a5b89f64542239df28aca9b980e1702bbdda79b6db905ba87550a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .github/scripts/check_backend_deploy_source_admission.py:151-161 | .github/scripts/check_backend_deploy_source_admission.py:409-419 \u2014 both copies are in the same file, so extract the block 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":".github/scripts/check_backend_deploy_source_admission.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fa495c2e447b1f0316124152285022915fafd3e42967b307b48f2eaf11e205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/database/action_items.py:1055-1065 | backend/database/conversations.py:1501-1511 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/action_items.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"621955f0f7806efed95a5b661b5680313c02c40ce6932ea96fe7ff429d2560af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/database/announcements.py:101-111 | backend/database/announcements.py:152-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/database/announcements.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4b2ee21716470c12d6a914da38f8d4b7d8ce065b081fe335b674341f127aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/database/conversations.py:94-104 | backend/migrations/002_populate_historical_usage.py:51-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/conversations.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c223c4fb1c7a3057b893b88c9ded797a682716d2752595bf763f529085eaf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/database/task_recommendations.py:189-199 | backend/database/task_recommendations.py:724-734 \u2014 both copies are in the same file, so extract the block 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":"backend/database/task_recommendations.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad134c53ca2044e8e3a503c4858cf6075d1a5aac420fac3cc43b2fec6e8ed53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/database/workstreams.py:552-562 | backend/database/workstreams.py:680-690 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/workstreams.py:552\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/workstreams.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0191c46d0c0c642475f43e7b21e62850ab807752092ce39415815316d106300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/dependencies.py:59-69 | backend/dependencies.py:93-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/dependencies.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0407d0cc9d4d3e43b720b24d69a5c1543fdefe207e862d91b3e479aff2c72707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/dependencies.py:105-115 | backend/dependencies.py:202-213 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/dependencies.py:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/dependencies.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3defeddb5dbcf166f23dbdd94e8de80f739f6d56e9f1832c8aaee77579bbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/llm_gateway/gateway/executor.py:385-395 | backend/llm_gateway/gateway/executor.py:398-408 \u2014 both copies are in the same file, so extract the block 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":"backend/llm_gateway/gateway/executor.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc1806ce828edd7ffa0ad7bd29575d8a4939569751618e483a0aab0313a2bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/parakeet/transcribe.py:153-163 | backend/parakeet/transcribe.py:236-246 \u2014 both copies are in the same file, so extract the block 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":"backend/parakeet/transcribe.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dd1edca622f16e1d2ed2ccdf81a74165085d7aa62121e08fb6023fbc1fe897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/action_items.py:739-749 | backend/routers/action_items.py:772-782 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/action_items.py:739\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":"backend/routers/action_items.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e29cdc7e59eb05f943d64eae1a3ba9cb7b751181a35387f089b25be1117e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/apps.py:2040-2051 | backend/utils/mcp_client.py:674-684 \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. 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":"backend/routers/apps.py"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a4248c8cb48f3f212504e979ff274b9ea7ec4aaa94bd9793cc05303ee1a1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/developer.py:1448-1458 | backend/routers/mcp.py:495-505 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/developer.py:1448\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":"backend/routers/developer.py"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5ff3130f53af32dcffb5fca8cb65083a7f4da12b1cfa211b219bc9b6205101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/listen/parity_capture.py:33-43 | backend/testing/parity_pack_v0/live_capture.py:36-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"backend/routers/listen/parity_capture.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7c184122b24a0b115bce0ad627037838a2948f0ee2a536b257cf58c7a769bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/mcp.py:378-388 | backend/routers/mcp_sse.py:852-862 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/mcp.py:378\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":"backend/routers/mcp.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa74b46321ad46270de04d60163329ea01d5cee20a42476cd82c9b09c5f560c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/staged_tasks.py:568-578 | backend/routers/staged_tasks.py:650-660 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/staged_tasks.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"794e3a9ce0d51d821b77cb725634a0788d01bfd1ca9beffcca3e25f6e9eedf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/routers/task_integrations.py:289-299 | backend/routers/task_integrations.py:301-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/task_integrations.py:289\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":"backend/routers/task_integrations.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9c6d161825af0313fab2b18aa5ec3c962e2ddd4433e92403ea5dc1f5bd46d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/scripts/stt/m_benchmark_streaming.py:162-172 | backend/scripts/stt/m_benchmark_streaming.py:209-219 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/m_benchmark_streaming.py:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/m_benchmark_streaming.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82551142f3a55214ac5d7f8cbff54b6b251bddc975f380eade25ed85e3515b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/scripts/stt/m_benchmark_streaming.py:183-193 | backend/scripts/stt/m_benchmark_streaming.py:232-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The 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":"backend/scripts/stt/m_benchmark_streaming.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf65d4232a78ad33d49fa79fec9cf00120ecbbdcb96d3ea7b26a9d38187ea837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/scripts/stt/q_modulate_debug.py:158-168 | backend/scripts/stt/r_ab_modulate_compare.py:121-132 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/scripts/stt/q_modulate_debug.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d4e7747f2b538eed9c274861323eb59bca9d5ac393809e255893caba0ad790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/scripts/stt/s_benchmark_prerecorded_api.py:187-198 | backend/scripts/stt/s_benchmark_prerecorded_api.py:211-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/s_benchmark_prerecorded_api.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb45894b9a2249a2e889eadc796c3ffa321955aa0379c02bebec36825e10107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/scripts/verify_pusher_rollout_budget.py:82-92 | backend/scripts/verify_pusher_rollout_gate.py:105-115 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/verify_pusher_rollout_budget.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4787f87eb9a78cdb3f309cc170c87b3b0cbc5e63f68c769b0773ac0269c9022c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py:100-110 | backend/testing/replay_harness_llm_streaming_wire_fidelity/oracle.py:131-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddc6abef991ce8a868b95840a55d89abcb48b7861cccb7ba95cfc9ca0b04028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/testing/replay_harness_llm_streaming_wire_fidelity/oracle.py:171-181 | backend/testing/replay_harness_stt_wire_fidelity/oracle.py:130-140 \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":"backend/testing/replay_harness_llm_streaming_wire_fidelity/oracle.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"260641e954f0b29adfc0e02eb198a4f18d542665aa90a7da26af02e251e1d762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/utils/apps.py:1302-1312 | backend/utils/apps.py:1422-1433 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/utils/apps.py"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6e768e151aa3dda8a2e772070ec896a97fa51474f041694fef91d1b2510e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): backend/utils/chat.py:176-186 | backend/utils/chat.py:274-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/chat.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0945dddfe0bf447eddabe5fc001303a6178ed8297c76caecbd54b783820ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): backend/scripts/stt/q_modulate_debug.py:34-43 | backend/scripts/stt/r_ab_modulate_compare.py:68-77 | backend/scripts/stt/r_modulate_stability.py:67-76 | backend/scripts/stt/r_silence_sweep.py:63-72 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/q_modulate_debug.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd88eada9b42ee1a6c37247cb13a4f3d22348ccfda23c48e2c9df4c6f17e4a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): backend/routers/task_integrations.py:503-513 | backend/routers/task_integrations.py:544-553 | backend/routers/task_integrations.py:584-593 \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 \u0060backend/routers/task_integrations.py:503\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/routers/task_integrations.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5641cf1dda23fb53b1aa2722d813182ac5895c15c65d6525eef26a0e1245dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): .github/scripts/check_opentofu_development_wif_pilot.py:250-259 | .github/scripts/check_opentofu_development_wif_pilot.py:335-344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_opentofu_development_wif_pilot.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"296f084c4d7de8abe81f990236aa96fc8994a49ad8ede3439b29579cf73bf253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): .github/scripts/check_public_build_contract.py:157-166 | .github/scripts/check_public_build_contract.py:195-204 \u2014 both copies are in the same file, so extract the block 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 \u0060.github/scripts/check_public_build_contract.py:157\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":".github/scripts/check_public_build_contract.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b581183af303335486356e67f949a173ba43440988200090ccfc6cb5478838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/agent-proxy/main.py:237-246 | backend/routers/agent_tools.py:114-123 \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":"backend/agent-proxy/main.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"887c198b37b041258197642e14b2675b68f6efd05b5137b8098bb3231178d32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/agent-proxy/main.py:270-279 | backend/routers/agent_tools.py:147-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1722fb9f1b989328202cb6b5238caf762301baa78d0bde68a3fb6216fae132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/action_items.py:225-234 | backend/database/action_items.py:330-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/database/action_items.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b47fedd0569e852e63c891e2df7760c35e389302c7fdf6dadd49a5603d2567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/announcements.py:149-159 | backend/database/announcements.py:421-430 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/announcements.py:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/announcements.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8cf8499a83225949717499a26e43935a6ee996e5c13961fa0f4ce1c00e4710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/chat.py:186-195 | backend/database/chat.py:245-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/chat.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa4800faccc803dc3a16b05cb2dcf8b835a1a7da00412a4698a71567afca81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/conversations.py:363-372 | backend/database/conversations.py:433-442 \u2014 both copies are in the same file, so extract the block 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":"backend/database/conversations.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b08dcf9e31e0e59f3d6092b47742503bfa6df241f18c2288f917adb10042ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/conversations.py:706-715 | backend/database/conversations.py:1339-1348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/database/conversations.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"770f6f40d70aad40278c5ae2b47bc93a3ad4100f38e5a8a11af6e00ad63f0921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/helpers.py:235-244 | backend/database/helpers.py:298-308 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/helpers.py:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/helpers.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cf28696fda1bc6bb59f5ea74cae3cfd321498ed72fe88ddee2b961243d8db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/memory_vector_metadata.py:134-143 | backend/database/memory_vector_metadata.py:163-172 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/memory_vector_metadata.py:134\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":"backend/database/memory_vector_metadata.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c5f39ac9063eec8824c3c5cfa8f3a7fb2b573cfd22c780a0a4c2a1e618ab17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/database/sync_jobs.py:307-316 | backend/database/sync_jobs.py:410-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/sync_jobs.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"402064c6deeb3f738a56fcdfa9acb793b721fdfafecc3cd71e77e0bfeefd66fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/dependencies.py:124-133 | backend/dependencies.py:154-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/dependencies.py:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/dependencies.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"43866600a4d9145b37c19c40ab061c1f662390bf68d7a803829a75d9264ad460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/migrations/001_enhanced_protection_default.py:152-161 | backend/migrations/002_populate_historical_usage.py:265-274 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/migrations/001_enhanced_protection_default.py:152\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":"backend/migrations/001_enhanced_protection_default.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7782d4fd631dd8c77e883339c817c984f34c754f2b5897002d5af50fa880525b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/migrations/002_populate_historical_usage.py:239-248 | backend/migrations/003_report_top_transcription_users.py:111-120 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/migrations/002_populate_historical_usage.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5029f45d8687602302c28fd70b89fc7f17dc129caddba098b374d0f0f51cec83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/models/memories.py:439-448 | backend/models/memories.py:482-491 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/models/memories.py:439\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":"backend/models/memories.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ecbc474d1a88487333c95548c89597898914c0d3066b8dba3666e035e86eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/chat_first.py:275-284 | backend/routers/chat_first.py:297-307 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/chat_first.py:275\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":"backend/routers/chat_first.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e652ed851e53dfc0019cbaf8d65329467e9b48e3751c3e679479d417afc3bbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/mcp_sse.py:882-891 | backend/routers/mcp_sse.py:1111-1120 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/mcp_sse.py:882\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/mcp_sse.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82fea295c29db9bed897f355e09bb0e5fa204fea232441db8977bf4ac74e6bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/mcp_sse.py:912-921 | backend/routers/mcp_sse.py:964-973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/mcp_sse.py:912\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":"backend/routers/mcp_sse.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c596b71895bb63df6b3ac0334d9aa5065abfc5606068072f6f0fb8e06e296f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/mcp_sse.py:1081-1090 | backend/routers/mcp_sse.py:1187-1197 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/mcp_sse.py:1187\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/mcp_sse.py"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc413eef982ef63e0cddd96c9be16b22972beb092554221a6c8fa82274bafcda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/mcp_sse.py:1286-1295 | backend/routers/mcp_sse.py:1305-1314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/routers/mcp_sse.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"314dbcf4b30eb39c487cc8a71a71c7c59984bb0af84946aa24eb7c43ef07f73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/payment.py:426-435 | backend/routers/payment.py:448-457 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/payment.py:426\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":"backend/routers/payment.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce3bb24c4dbfae2a00dc78f5c0a733a2a67b26d7a35ef461f9296178c1fcc0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/task_integrations.py:763-772 | backend/routers/task_integrations.py:816-825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/task_integrations.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b061ed1d16886534f7ecf0c7fb1bd527e2df61816d6846aa8edf2c75fc27c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/routers/users.py:1264-1273 | backend/routers/users.py:1286-1295 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/users.py:1264\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":"backend/routers/users.py"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"347743a46c7f2bce7ef38440d7a63b968b17b79a64f018ec7108441bef9746e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/export_openapi.py:438-447 | backend/scripts/route_policy_inventory.py:755-764 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/export_openapi.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4553dd9afe364a56ef8de919df4e3e6ab75fac03a45961a0f93c338518001d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/firestore_rules_iam_proof.py:132-141 | backend/scripts/vector_repair_outbox_oidc_iam_proof.py:171-180 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"backend/scripts/firestore_rules_iam_proof.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d709621d2803b7d242b827a1e30c38aee496eb3532b065f5434727e4f2c283c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/firestore_rules_iam_proof.py:398-407 | backend/scripts/vector_repair_outbox_oidc_iam_proof.py:477-486 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/firestore_rules_iam_proof.py:398\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/firestore_rules_iam_proof.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7ff0d221a3fe405ee4307796316f25b85ff70b34231a2abdfb1c56efa043e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/generate_swift_openapi_types.py:692-701 | backend/scripts/generate_ts_openapi_types.py:228-253 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/generate_swift_openapi_types.py:692\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/generate_swift_openapi_types.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7a92972858c73a9f902960e1c9e892b1aa8bb200a8ce8eb802eab197256a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/runtime_image_contracts.py:197-206 | backend/scripts/verify_pusher_source_closure.py:28-37 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/runtime_image_contracts.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33fabf8b0c29bbb6e5567d816bec2a013c3b203a3f572fb7a975627ecfa4ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/runtime_image_contracts.py:211-220 | backend/scripts/verify_pusher_source_closure.py:43-52 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/runtime_image_contracts.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daaeeebe69f04aa73820fba847926c064d9b5de9e7706c8cca8efaf5b80d8e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/stt/r_modulate_stability.py:216-225 | backend/scripts/stt/r_silence_sweep.py:213-222 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"backend/scripts/stt/r_modulate_stability.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4053f0d25bd64e6da5e0615086ec484930cdff049b69823e95f35cb0407439bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/stt/u_benchmark_parakeet_prerecorded.py:152-161 | backend/scripts/stt/v_benchmark_parakeet_streaming.py:213-222 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/u_benchmark_parakeet_prerecorded.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de7aa897e0a7f7e434ff5846854f59c8fb846bc3203b18f90de9f3a3315ca6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/stt/v_benchmark_parakeet_streaming.py:80-89 | backend/scripts/stt/v_benchmark_parakeet_streaming.py:119-128 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/stt/v_benchmark_parakeet_streaming.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c99e09b0fc1567a62eec95e6a395800cbd530f3bda629d407355538b9142fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/scripts/vector_repair_outbox_worker_entrypoint.py:91-100 | backend/scripts/vector_repair_outbox_worker_entrypoint.py:316-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/vector_repair_outbox_worker_entrypoint.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eee635a213faf8484b9a3581cdc4c0e15d6865ab030a04646f6a9802fa69a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py:126-135 | backend/testing/replay_harness_llm_streaming_wire_fidelity/oracle.py:157-166 \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":"backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"886501bf08aa04a0ea8a457db1c7d863dd7a50550bc44dce536d075d8afc5b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py:236-245 | backend/testing/replay_harness_llm_streaming_wire_fidelity/oracle.py:310-319 \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 \u0060backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c36aa16a63428dee5ff05b92a9c6edefe74b21c75828fc85a1fbfa9d6e11b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/testing/replay_harness_phase0a/attestation.py:80-89 | backend/testing/replay_harness_phase0a/egress_guard.py:67-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/replay_harness_phase0a/attestation.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac22c7c3c904c386054faacb78cc4581ab6124f09ab87f45fb01962e0f4079f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/utils/app_integrations.py:258-267 | backend/utils/app_integrations.py:851-860 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/app_integrations.py:258\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":"backend/utils/app_integrations.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49dba258693c413a21adaccdd48a56b57b75e5e465d070b053cd809de95e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/utils/chat.py:462-471 | backend/utils/chat.py:508-517 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/utils/chat.py:462\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":"backend/utils/chat.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"390bcc32657035ddc327e13dcebfe1da2d73a8475622e2156cf63c13c80b983e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/utils/llm/conversation_processing.py:1197-1206 | backend/utils/llm/conversation_processing.py:1281-1290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/utils/llm/conversation_processing.py"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f967ea3d14694cf71cccb536c0900917e64bc06eebbe23cbb3038ef111e220f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/utils/llm/notifications.py:104-113 | backend/utils/llm/notifications.py:162-171 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/llm/notifications.py:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/notifications.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec04329d128c7cd90c536aeaf04e9af7ee94eefef349c9eaa6728e0c50e2b09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): backend/utils/mcp_client.py:636-645 | backend/utils/mcp_client.py:676-685 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/mcp_client.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"986c00d449ef78811730cfb1a0b12ed72088b4c21f790fed0e3e08cf7250059d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): backend/database/candidates.py:635-643 | backend/database/candidates.py:890-898 | backend/database/candidates.py:949-957 | backend/database/candidates.py:1017-1025 | backend/database/candidates.py:1091-1099 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/candidates.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf26a2e0831c3304d4b305511eca62425cf398f93aae5fccd362303b2c9c8741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): backend/database/notifications.py:213-221 | backend/database/notifications.py:327-335 | backend/database/notifications.py:372-380 \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. 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":"backend/database/notifications.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6022668c9670a08a8916dfa7efb85c2d4170c9547dfeb962a5a386239385fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): .github/scripts/desktop-release-source-identity.py:61-69 | .github/scripts/resolve-desktop-changelog-sync.py:44-52 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/desktop-release-source-identity.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e639b522b99fb26e86deb280e7a9420533674e301e18c2e1e850174d915156c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/agent-proxy/main.py:252-260 | backend/routers/agent_tools.py:129-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5425bd7ecca97d7c7e69ae4d4a3580d4d4dd931df5390aea09b52c4c30dc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/chat.py:309-320 | backend/database/chat.py:1209-1217 \u2014 both copies are in the same file, so extract the block 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":"backend/database/chat.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2e7c8a215bb9752d90021f8d7733cb137889667bf2303e366bfd7574fb9d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/chat.py:1123-1131 | backend/database/chat.py:1174-1182 \u2014 both copies are in the same file, so extract the block 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":"backend/database/chat.py"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e2426d59c8d43f1976482dd3bab743f4d3c3d8887878f9417858ca42999d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/conversations.py:632-642 | backend/database/conversations.py:681-689 \u2014 both copies are in the same file, so extract the block 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":"backend/database/conversations.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d6f2b262e4d3f156fb69ed98127d1140f6016947831d72845ac8c643e18c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/dev_api_key.py:129-137 | backend/database/mcp_api_key.py:221-229 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"backend/database/dev_api_key.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e047315de152a5d0595d0fe4c204bdde2e5cae8e8c8fd11a347ec2945d9ab493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/goals.py:537-545 | backend/database/goals.py:624-632 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/goals.py:537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/goals.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea9121f0d51bbc3ac89bc99c49cc590b27f1ae4cfffd00370f99bd0d1b5455e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/memory_apply_store.py:1094-1102 | backend/database/memory_apply_store.py:1113-1121 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/memory_apply_store.py:1094\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/memory_apply_store.py"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f6a325e2864bf3c67a168db3fa41ba9335ea10158b3dca53542e01193fb091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/memory_apply_store.py:1183-1191 | backend/database/memory_apply_store.py:1234-1244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/memory_apply_store.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7af7c70d8a4dc99a2b7742546cec1c1dd5df15ef3802f6acaca6ade7ea0bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/task_recommendations.py:794-802 | backend/database/task_recommendations.py:901-909 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/task_recommendations.py:794\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":"backend/database/task_recommendations.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd496b33a7e8cb8c02bd165b98308e14172c04c8674ac7345b36bd658f8e5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/database/vector_db.py:722-731 | backend/database/vector_db.py:1124-1132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/database/vector_db.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bd1d3b7a13e46afcd00344f21bce8c138bfe83e5f3841921f008f1b4af49c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/parakeet/gpu_worker.py:231-239 | backend/parakeet/gpu_worker.py:249-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/parakeet/gpu_worker.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"660da157fde9766c039ba01468d084cc9125a45b25795f49a52df9b09ffc843c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/parakeet/stream_handler.py:759-767 | backend/parakeet/transcribe.py:344-352 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/parakeet/stream_handler.py"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2cc2f967d3367781dc379878110e330e81f22077fa8e3ab64e25c5634812b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/routers/chat.py:1558-1566 | backend/routers/users.py:801-810 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/chat.py"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0881744068426a2a9cdd92437ea7939d06f6a810d492f0f2bd6c35e2aa028547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/routers/pusher.py:383-391 | backend/testing/chaos-oom/pusher_fixed.py:346-354 \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":"backend/routers/pusher.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"63577b6a0f21ff332dc4f4f95edc075c561fba94ae31ac87246da7d669ba4f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/routers/task_integrations.py:776-784 | backend/routers/task_integrations.py:829-837 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/task_integrations.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbba1b6a0f61022ae40289a036d626a8a965c63832a32879c084410eadd66eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/backfill_developer_api_key_memory_grants.py:101-109 | backend/scripts/backfill_mcp_key_full_access.py:85-93 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/backfill_developer_api_key_memory_grants.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05679aae0cae80011c694a10d295da7129a9ca82fb6ce6cda6af5f4b14974df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/check_app_client_openapi_compatibility.py:195-203 | backend/scripts/check_app_client_openapi_compatibility.py:227-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/check_app_client_openapi_compatibility.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"949bc428a5fa74ae3a5dc7c7c06ac7575c59ddc5effc48719a3137ee8285d5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/check_module_stub_pollution.py:237-246 | backend/scripts/scan_import_time_side_effects.py:412-420 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/check_module_stub_pollution.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a3bc7b8c6eeeb1bcd64821aceb6afba6927654036661ff2ed073ec121138f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/export_openapi.py:415-423 | backend/testing/hermetic_network.py:16-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"backend/scripts/export_openapi.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1d934ff700af9ed28122d63a5a733ff1e0c35f32b3e941873cec086055f747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/generate_swift_openapi_types.py:318-328 | backend/scripts/generate_swift_openapi_types.py:476-484 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/generate_swift_openapi_types.py:318\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":"backend/scripts/generate_swift_openapi_types.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f552790faf52c14f1398b84c2d74dee52b9f1a86e2891685f2f20ff86afe28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/generate_swift_openapi_types.py:609-621 | backend/scripts/generate_ts_openapi_types.py:198-206 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/generate_swift_openapi_types.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4551635a132f73056fbf62e9ad6ebec708758a80cd83010990cbe1e8c9d1bc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/pinecone_repair_validation_readiness.py:84-93 | backend/scripts/pinecone_repair_validation_readiness.py:94-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/pinecone_repair_validation_readiness.py:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/scripts/pinecone_repair_validation_readiness.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0540ebd5b9238b8648a3104100578e198ea9f003b0a4a023457c2e227a87369d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/stt/k_compare_transcripts_performance.py:212-220 | backend/scripts/stt/k_compare_transcripts_performance.py:236-246 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/k_compare_transcripts_performance.py:212\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":"backend/scripts/stt/k_compare_transcripts_performance.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"685c786e521d2347bd660a710c819a6293bb56e5070bcd7bf1e5471090e995a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/stt/l_benchmark_prerecorded.py:126-134 | backend/scripts/stt/m_benchmark_streaming.py:131-139 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/stt/l_benchmark_prerecorded.py:126\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":"backend/scripts/stt/l_benchmark_prerecorded.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12e0c69209a5e3b8a27dfe030d528b1d823cc431e553818737ca6743e6e838b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/scripts/stt/m_benchmark_streaming.py:151-159 | backend/scripts/stt/m_benchmark_streaming.py:198-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/m_benchmark_streaming.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"626abd89331b1d6939d66346c88aec85c3123960a86dcc91a58bd4dbc3d9fb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/services/conversation_finalization.py:193-201 | backend/services/conversation_finalization.py:213-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/services/conversation_finalization.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fe78001d464341b2a8e9be11d8d250317beb3515146feb1825059620430c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/testing/listen_pusher_stack/cloud_tasks.py:104-112 | backend/testing/sync_cloud_tasks_stack/cloud_tasks.py:118-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/testing/listen_pusher_stack/cloud_tasks.py:104\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":"backend/testing/listen_pusher_stack/cloud_tasks.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63e703d5454ff215e2229990ead5c6bb69586f92de4dc0c2514836056fb0e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/testing/listen_pusher_stack/run.py:410-418 | backend/testing/sync_cloud_tasks_stack/run.py:334-342 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/listen_pusher_stack/run.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cf37091fe3c8c615d52f27b38ee7c53261d17191da8bea8446c07e6eb634b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/utils/apps.py:378-386 | backend/utils/apps.py:523-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/apps.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b086a65da42ac1335aaa35538e45238a4aef8d0c3b75e0b0872916a76dcf11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/utils/llm/chat.py:1217-1225 | backend/utils/llm/chat.py:1318-1326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/chat.py"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6cd05359b1a431e233609e95165cf0431809493004a00a12c1ee79f7de8642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): backend/utils/llm/external_integrations.py:156-164 | backend/utils/llm/external_integrations.py:217-225 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/llm/external_integrations.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a6b6cfed3b7fdd70782b9027d50946861cfdccbe0eda34fb09ed82d16ae5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .github/scripts/check_release_eligibility.py:58-65 | .github/scripts/check_release_eligibility.py:78-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_release_eligibility.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7504a9705dcc5c475b0eccaec9a7696ec27126cf6d26495062c2b797b9df5a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/database/action_items.py:207-214 | backend/database/action_items.py:311-318 \u2014 both copies are in the same file, so extract the block 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":"backend/database/action_items.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf3e2a3d89cd8b9c8bd4599438b0bc7062d240be635dc48ae32434c7cbe03d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/database/apps.py:385-392 | backend/database/apps.py:407-414 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/apps.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9c2212f133646704ab6afde567a03af9c6526689c26e4eb5e730ef1a80d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/database/chat_first_intents.py:219-226 | backend/database/chat_first_intents.py:406-413 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/chat_first_intents.py:219\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":"backend/database/chat_first_intents.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab4c352d23d3a65e511d3efaddd59027d2d40b60c414942f08a1376518585e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/database/conversation_finalization_jobs.py:1285-1292 | backend/database/conversation_finalization_jobs.py:1305-1318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/database/conversation_finalization_jobs.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d264dd9f45b32273340e05fe636d88ddffb1ea247c7771d2e0f2b70cadd0d4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/database/workstreams.py:860-867 | backend/database/workstreams.py:1299-1306 \u2014 both copies are in the same file, so extract the block 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":"backend/database/workstreams.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c65da40794905f95670a1ea5db0e871e29d1c7729b23eaac24e05813e8de7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/database/workstreams.py:1232-1239 | backend/database/workstreams.py:1305-1312 \u2014 both copies are in the same file, so extract the block 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":"backend/database/workstreams.py"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6aa35db14f5317a1a0fd705ed5022e94966100e079d9a0fdbbe21f9fe4ebf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/models/memory_apply.py:303-310 | backend/routers/mcp_sse.py:1678-1685 \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":"backend/models/memory_apply.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9273f3caa1939211cd7463fc6ffeaf4c7fbfba945b26eee5601c0b98a9ad37f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/routers/apps.py:443-451 | backend/routers/apps.py:1129-1136 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/apps.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"93204ea1b27e36d18ac47d443ee721c890455fc9123fca5cebb24512920d60ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/routers/chat.py:487-494 | backend/routers/chat.py:1483-1490 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/chat.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bcebd5ff8a44cbf74fe042527607afc7a11e3e1bf0ae84e3a66d87b148e87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/routers/integration.py:382-389 | backend/routers/integration.py:712-719 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/routers/integration.py:382\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":"backend/routers/integration.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2672278d6f93df2594ff753f8f223426dd784fc1b2b3f7ef7e86f91bd8a3ab7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/routers/integration.py:480-487 | backend/routers/integration.py:495-502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/routers/integration.py:480\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":"backend/routers/integration.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4861208a3f3f47e78d546673c969e2deb9cd60f9dbfde18f91c6640c288df6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/backfill_developer_api_key_memory_grants.py:114-121 | backend/scripts/backfill_mcp_key_full_access.py:96-103 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/backfill_developer_api_key_memory_grants.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2cfbc28a89a66562cf67aec0a15406e928d1b2823540206e313ca6a4e3b8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/check_module_stub_pollution.py:152-159 | backend/scripts/scan_import_time_side_effects.py:305-312 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/check_module_stub_pollution.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a690e4fbf04c83b2de895563b53d57bb395e1c2ed62ffe6d59d0be5be46d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/deploy_status_report.py:637-644 | backend/scripts/repair_cloud_run_traffic.py:270-277 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/deploy_status_report.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cedf7c81d23cc4b48e41b8ecf5cd085b710e19c97fd653e6f62b261b5bb95ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/generate_swift_openapi_types.py:718-725 | backend/scripts/generate_ts_openapi_types.py:269-276 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/scripts/generate_swift_openapi_types.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"4331e9a0dc963f7e753892e17f70b99df64aa50982eb90830f65135f6d98e917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/runtime_env_validation/workflows.py:190-197 | backend/scripts/runtime_env_validation/workflows.py:208-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/scripts/runtime_env_validation/workflows.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3978390ad96b6b535794b1814da5e293dc1873a9e4b0bf532795e74ba00ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/stt/n_benchmark_02_prerecorded.py:337-344 | backend/scripts/stt/o_benchmark_02_streaming.py:356-363 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/stt/n_benchmark_02_prerecorded.py:337\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":"backend/scripts/stt/n_benchmark_02_prerecorded.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5d3143d2c875e14b2157c0411d76b59d7525372d33362d69d0ceaf674a2bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/stt/t_benchmark_multilang.py:202-209 | backend/scripts/stt/t_benchmark_multilang.py:313-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/stt/t_benchmark_multilang.py:202\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":"backend/scripts/stt/t_benchmark_multilang.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8775c484060743aebc6c34b6c772afa987e8625beab5da6dfb60e94db9160dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/scripts/stt/v_benchmark_parakeet_streaming.py:71-78 | backend/scripts/stt/v_benchmark_parakeet_streaming.py:110-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/v_benchmark_parakeet_streaming.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"54859b184988a5b3906c6a0718bba4e714f592fbd13efd7fa3d2efe2f3e790d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/testing/chaos-oom/pusher_fixed.py:398-405 | backend/testing/chaos-oom/pusher_vuln.py:340-347 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/chaos-oom/pusher_fixed.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"96609fca359d32f8665c2661e2c2a85842bb4bde4ad412c204bb110c6a28aa2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py:67-76 | backend/testing/replay_harness_llm_streaming_wire_fidelity/oracle.py:95-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/replay_harness_llm_gateway_fake_upstream/oracle.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0215e98632bb38b4f2ea2b4c2c738d665c4977a2722ee173ed28792a384a7774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/testing/replay_harness_phase0a/scenario.py:131-138 | backend/testing/sync_cloud_tasks_stack/run.py:461-468 \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. 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":"backend/testing/replay_harness_phase0a/scenario.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"23918c33f38de3703a24a337595092e6d28ffb41a43978d6c2449b9b8e80319d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/utils/app_integrations.py:314-321 | backend/utils/app_integrations.py:902-910 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/app_integrations.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"04252a620140406885db404fb78fb1b13fbdac8864284cf2dc54dd7b4f780485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/utils/llm/followup.py:10-17 | backend/utils/llm/openglass.py:15-22 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/followup.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"151fcb9e8df146a4ef1fea70e6a2b500367bc4b92f7ffebc485136e11ead1a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/utils/llm/memories.py:199-209 | backend/utils/llm/memories.py:306-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/memories.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ec83b375624743221cf768a966c42b6eeb5023ab5cebd558debf149c4b935f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): backend/utils/memory/canonical_consolidation.py:277-284 | backend/utils/memory/canonical_required_processing.py:306-313 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/memory/canonical_consolidation.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa7fb0fe86286e879e5f978bd14825631cbafef4ca13ca36fe853b51ae053c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): backend/database/chat.py:223-232 | backend/database/chat.py:316-322 | backend/database/chat.py:1211-1219 \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. 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":"backend/database/chat.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43a3ef9eae33664bd11e060532a8e5facf64ab2d8218d0ebe9f1e3b33b24736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): backend/scripts/pinecone_repair_validation_readiness.py:189-195 | backend/scripts/shared_ns2_legacy_isolation_readiness.py:156-162 | backend/scripts/vector_search_provider_readiness.py:248-254 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/pinecone_repair_validation_readiness.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd189c530724767c4935611cd0e0484e0a6674738edae4bbc680f14be14697c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .github/scripts/check_deployment_secret_boundary.py:317-323 | .github/scripts/check_public_build_contract.py:650-656 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check_deployment_secret_boundary.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d54ddcbbe55eb1847bff48db3ee7a4f776129aa3d37b95892e1eab2bf96f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/bee_audio_capture.py:186-192 | app/bee_audio_capture.py:274-280 \u2014 both copies are in the same file, so extract the block 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/bee_audio_capture.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96e094a11949a97b3765ab88013257730ba10781a53b81efd41d2b59f71212c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/agent-proxy/main.py:220-226 | backend/routers/agent_tools.py:99-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfd3b57a45eba8ca7e2281ea8d0fc9f78de34ecd9c7496db9852d107b2746e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/agent-proxy/main.py:350-356 | backend/agent-proxy/main.py:393-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"314cc5227662c5526cdc2ce9eda2d7be7b2bfd1407cadd255b71009961ee8cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/candidates.py:654-660 | backend/database/candidates.py:907-913 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/candidates.py:654\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":"backend/database/candidates.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8fee70e5a5674a3224b91b33308ac4f7020398c236c630085f790622c9ae89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/chat.py:590-596 | backend/database/chat.py:620-626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/chat.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b710e7932f1d60d03d6669ce042d318b86d40e4a6de2d6b385cc79c6cff245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/chat_first_intents.py:323-329 | backend/database/chat_first_intents.py:402-408 \u2014 both copies are in the same file, so extract the block 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":"backend/database/chat_first_intents.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b1b3c1b019374382b66423a6306c09bd2ca327d91f2ff6dc93c2041ff76077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/chat_first_intents.py:477-483 | backend/database/chat_first_intents.py:575-581 \u2014 both copies are in the same file, so extract the block 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":"backend/database/chat_first_intents.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb99ec161e8d46cb6515b186b975ac71c1c7ff69dfe22ed8cf87da39f413f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/conversation_finalization_jobs.py:524-530 | backend/database/conversation_finalization_jobs.py:735-741 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/conversation_finalization_jobs.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4695c1b26e0a012e572f6848760e6c5e9d961a6df6855d8e8fce678d58c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/conversation_finalization_jobs.py:1214-1220 | backend/database/conversation_finalization_jobs.py:1259-1265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/conversation_finalization_jobs.py"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"29243af5e08551ae370ae92087bd26a4f19002a8698f0ce32af48bc233727ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/conversations.py:646-652 | backend/database/conversations.py:693-702 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/conversations.py:646\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":"backend/database/conversations.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"207ba510060ea77ae42179f50aeb21d76f554676c592407be8d1c506c52448a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/dev_api_key.py:232-238 | backend/database/mcp_api_key.py:329-335 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/dev_api_key.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a2f77ec3dd868e6db41d74912debe5bcd87067756af03aa5fd0681e7b45477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/llm_usage.py:212-218 | backend/database/llm_usage.py:280-286 \u2014 both copies are in the same file, so extract the block 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":"backend/database/llm_usage.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e366910b16748db106e609b04290bafd7d7f510f5609f15af7ecfef8639218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/memories.py:212-219 | backend/database/memories.py:240-246 \u2014 both copies are in the same file, so extract the block 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":"backend/database/memories.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa95f28b6909ba038549313f2f3c79582d85459cb1ac7ccc851c89f3a27991c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/memory_outbox_worker.py:595-601 | backend/database/memory_outbox_worker.py:607-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 \u0060backend/database/memory_outbox_worker.py:595\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/memory_outbox_worker.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac4646345034226dbefbbfb0d24cc93d6421db1e300fe5b785fb33def8a3333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/memory_vector_repair_outbox_telemetry.py:85-91 | backend/database/memory_vector_repair_outbox_telemetry.py:192-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/memory_vector_repair_outbox_telemetry.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca198c430399b230a4bd2fa3ed81f188584bf06f9052e3791818dbbbf43d6ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/memory_vector_repair_outbox_worker.py:363-369 | backend/database/memory_vector_repair_outbox_worker.py:384-390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/database/memory_vector_repair_outbox_worker.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f519b58dcd9f3005fee6f78ef28607efed08defdf5bb98f22b1d5625d497ab2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/workstreams.py:465-471 | backend/database/workstreams.py:863-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/workstreams.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81edb5123e1c262addf6f9a1ce81c049d9217872dd0281a9676e8ff71815012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/database/workstreams.py:996-1002 | backend/database/workstreams.py:1198-1204 \u2014 both copies are in the same file, so extract the block 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":"backend/database/workstreams.py"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cb0d27ff1edcee6cf56f8900fe79c85e32e116e98d44f372cf8856008fb701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/llm_gateway/gateway/providers.py:559-565 | backend/utils/llm/desktop_llm_stub.py:53-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/llm_gateway/gateway/providers.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60276ebc69b64b8412c2760e863302010ce1cd170c6709b10d1c25d96805906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/migrations/001_enhanced_protection_default.py:75-81 | backend/migrations/001_enhanced_protection_default.py:83-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/migrations/001_enhanced_protection_default.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c431694f0508d77dc6083b5cbbc7852607727aea855887026062370f81de1b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/routers/apps.py:2125-2131 | backend/routers/oauth.py:253-259 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/apps.py"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"692217807909378310cac6508b03ff201f88b0edd3d07aa64a9aabd7fa3b94ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/routers/desktop_agent_vm.py:428-434 | backend/routers/desktop_agent_vm.py:439-445 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/desktop_agent_vm.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf3c6a9eaf3517edfe4b5042d80ecd4439a417c75c473351c6e42cd479543d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/routers/desktop_chat.py:355-361 | backend/routers/desktop_chat.py:376-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/desktop_chat.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9817f4d4a13b7f86c97283e98969115e3227b879cbbe1e4089c0e3025dd4d14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/routers/developer.py:341-350 | backend/routers/mcp.py:351-357 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/developer.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2da4c6c23dfdad0b05185fa3f6e48c62a0bfc342c62d870a23c0dd50ff3359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/routers/developer.py:429-435 | backend/routers/developer.py:1016-1022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/developer.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7964b1c04c653910f7e8ed484946942444ca8ee5e0da0e4c0582efac9e4f5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/routers/users.py:1574-1581 | backend/routers/users.py:1727-1733 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/users.py"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"970ba437566a649387baa8a0dbfa06f0061d7b88c12fbc4b85add8990fc3e6cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/firestore_rules_iam_proof.py:154-160 | backend/scripts/vector_repair_outbox_oidc_iam_proof.py:191-197 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/firestore_rules_iam_proof.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dca6caa76eb12abeed5aebe08b370f8af9764ab477073876b0ffed51ec3b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/inventory_app_client_schemas.py:1085-1091 | backend/scripts/inventory_app_client_schemas.py:1092-1098 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/inventory_app_client_schemas.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b54ef736b879501c90a68899e8d906af389cdb4db949ade5052cf74101d8f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/rag/memories.py:87-94 | backend/scripts/rag/memories.py:118-124 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/rag/memories.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5768547e819706cce7a84cef83aae56daa5eeed7ae3c49a1ca6800897c1d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/reproduce_parakeet_oom.py:63-69 | backend/scripts/reproduce_parakeet_oom.py:78-84 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/reproduce_parakeet_oom.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"680c6ad577322106ba60795cbd0056676701077645118e8d769352d04ed66613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/runtime_image_contracts.py:223-229 | backend/scripts/verify_pusher_source_closure.py:55-63 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/runtime_image_contracts.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"28330a5b417ddf38ae3310a94dd956fa2462a146009828bed1614c9e881cddec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/scan_async_blockers.py:784-790 | backend/scripts/scan_async_blockers.py:807-813 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/scan_async_blockers.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"8366f120892682e85e8de84e8bba9f14dc7d8b0f536ba8d2b155ee25cccdddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/shared_ns2_legacy_isolation_readiness.py:94-102 | backend/scripts/vector_search_provider_readiness.py:172-178 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/shared_ns2_legacy_isolation_readiness.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f611f2d291e07dabab1a46b32992a32b3841f73dd5620b5cb4eb40ab8cf6a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/stt/o_benchmark_02_streaming.py:184-190 | backend/scripts/stt/v_benchmark_parakeet_streaming.py:159-165 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/o_benchmark_02_streaming.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a18ee165d66326baae4c2d2847984da8f9ae6bb0c9586b295acb07962a8f83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/stt/s_benchmark_prerecorded_api.py:233-239 | backend/scripts/stt/s_benchmark_prerecorded_api.py:345-351 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/stt/s_benchmark_prerecorded_api.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"674fd94a6ad0b13481ab87c1eb70ac8f3b993bd3eae196ce8d44581a053dbfd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/stt/s_benchmark_prerecorded_api.py:326-332 | backend/scripts/stt/u_benchmark_der.py:440-446 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/stt/s_benchmark_prerecorded_api.py:326\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":"backend/scripts/stt/s_benchmark_prerecorded_api.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a211fc97ddc5928ba4d1351fae92dd6d9489ed93255d06c60f999ce9f24c4363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/stt/w_benchmark_parakeet_multilang.py:120-126 | backend/scripts/stt/w_benchmark_parakeet_multilang.py:152-158 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/w_benchmark_parakeet_multilang.py:120\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":"backend/scripts/stt/w_benchmark_parakeet_multilang.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"521a56d9070c85dae2683b5774d02752cd442a04cf5c40f8734e1d9a8c6c6750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/validate_agent_vm_reconciler_scheduler.py:79-85 | backend/scripts/validate_memory_maintenance_scheduler.py:82-88 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/validate_agent_vm_reconciler_scheduler.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e2cfdff6eb51677b283ed0795b76e99011fe8b2162a248b18083287b76a1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/validate_mcp_oauth_review_config.py:128-134 | backend/scripts/validate_mcp_oauth_review_config.py:140-146 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/validate_mcp_oauth_review_config.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7b598b012bcc1199e076027680b3b90ad602ed965250664d31370d12edeb27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/scripts/verify_pusher_config_references.py:33-39 | backend/scripts/verify_pusher_config_references.py:41-47 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/verify_pusher_config_references.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf82e747a3d406a0ad92c7763cb097be2b8f2415a73bb86871fefe376e9343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/testing/listen_pusher_stack/run.py:114-120 | backend/testing/sync_cloud_tasks_stack/run.py:100-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/listen_pusher_stack/run.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"362e7387ef03a93b11fb11f8bded62f7ea90e9b25160f92e6cc3ad37b272865d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/testing/listen_pusher_stack/run.py:1469-1481 | backend/testing/listen_pusher_stack/run.py:1588-1594 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/testing/listen_pusher_stack/run.py:1469\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":"backend/testing/listen_pusher_stack/run.py"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5884fc5e8013b23e9fe42dee0a9537edafd68fd3324fce7e76bff981752b9285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/testing/replay_harness_phase0a/scenario.py:147-153 | backend/testing/replay_harness_phase0a/scenario.py:206-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/replay_harness_phase0a/scenario.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"340413df858f922dc187d426df7d02d6bbd1719275732e10fb2831ca4e838f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/testing/sync_cloud_tasks_stack/run.py:613-619 | backend/testing/sync_cloud_tasks_stack/run.py:692-698 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/sync_cloud_tasks_stack/run.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"842d8ee2ada6dd88038c20d231d4c82b99982057463c8c1a5ce9096ce4bca790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/testing/sync_cloud_tasks_stack/run.py:654-660 | backend/testing/sync_cloud_tasks_stack/run.py:719-725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"backend/testing/sync_cloud_tasks_stack/run.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"db17be3e4c5a3ba9a0874cb02d301a8b6f34fd4537afcdb39c2ed49c90561589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/utils/listen_pusher_session.py:205-212 | backend/utils/listen_pusher_session.py:275-281 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/listen_pusher_session.py:205\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":"backend/utils/listen_pusher_session.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fe661974b03dc75cb69da0172e2192e8cb09778ad978c3f1d18f32f244070c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/utils/llm/conversation_processing.py:1344-1350 | backend/utils/llm/conversation_processing.py:1421-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/conversation_processing.py"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e09efbcd1fec7fc7b922aa5d49c2195094885a112283565513c91f7632cd6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/utils/llm/notifications.py:30-36 | backend/utils/llm/openglass.py:25-31 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/notifications.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c6b26bd42095f859a5fd48be17fee4f2a4750d538cdeb5e006b35b35353456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/utils/llm/persona.py:21-27 | backend/utils/llm/persona.py:39-45 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/utils/llm/persona.py:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/utils/llm/persona.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b0366895779b320dfc94f31f241daa66425fb094386582359a5beb9a1bf23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): backend/utils/mcp_client.py:497-503 | backend/utils/mcp_client.py:513-519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/mcp_client.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3f071ea7ad3628104f0ef6625cf9a0c9083368f7cfaee9d826e10b5d65bb01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): backend/routers/desktop_agent_vm.py:205-210 | backend/services/agent_vm_lifecycle.py:332-337 | backend/services/agent_vm_lifecycle.py:404-409 | backend/services/agent_vm_lifecycle.py:455-460 | backend/services/agent_vm_lifecycle.py:524-529 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/desktop_agent_vm.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d374906a77c83392c526465995adf854c3719e9c987d510a4ad179ccf126f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): backend/scripts/stt/q_modulate_debug.py:86-91 | backend/scripts/stt/r_ab_modulate_compare.py:51-56 | backend/scripts/stt/r_modulate_stability.py:50-55 | backend/scripts/stt/r_silence_sweep.py:46-51 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/q_modulate_debug.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"651c9916b84089712babb6ccb23beb721f2620e51e5f9ffb709d1dbbabd4ad52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): backend/database/conversations.py:591-599 | backend/database/conversations.py:647-652 | backend/database/conversations.py:694-702 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/conversations.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91a269c96144b16e6ea142b3c0d8c4cb6d34e8c5f99eb31ba43ed6da647830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): backend/scripts/agent_vm_release.py:79-84 | backend/scripts/validate_agent_vm_reconciler_scheduler.py:67-72 | backend/scripts/validate_memory_maintenance_scheduler.py:71-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/agent_vm_release.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072f9369c9c2f4eac4e63e096eec4f88261102e624402b4f743b98ff30192cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): backend/testing/sync_cloud_tasks_stack/run.py:704-709 | backend/testing/sync_cloud_tasks_stack/run.py:729-734 | backend/testing/sync_cloud_tasks_stack/run.py:754-759 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/sync_cloud_tasks_stack/run.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe773a242b220bd1981b51815493590465404ed25c023e17090c4cd23d922fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .github/scripts/check-codemagic-tag-intake.py:461-466 | backend/scripts/agent_vm_release.py:84-89 \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":".github/scripts/check-codemagic-tag-intake.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0d2ebf4c8ad1d5b863d49990f8c526dabea9c9a84dd4121da6235df95b6254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .github/scripts/verify_release_eligibility.py:55-60 | backend/scripts/resolve_cloud_run_tagged_url.py:129-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":".github/scripts/verify_release_eligibility.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"94427b650e43db436541fdfe74767f19fd68ad0a197b54c62a9a6703253e8204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/agent-proxy/main.py:205-210 | backend/routers/agent_tools.py:82-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"backend/agent-proxy/main.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d73e33d84a1d5028a61d56aae1998cebe8990c543fd8999672912697483908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/agent-proxy/main.py:230-235 | backend/routers/agent_tools.py:107-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfcd97159a7b303e23dd4259b6727a902f61fd2bca0a33ad6a72836a23cf0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/agent-proxy/main.py:397-402 | backend/routers/desktop_agent_vm.py:257-262 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/agent-proxy/main.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"71832d81db5d5126aef17ebbb83bf2e52bd00d9b984f08a9a985ed1b91eceeea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/action_items.py:41-46 | backend/database/action_items.py:53-58 \u2014 both copies are in the same file, so extract the block 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":"backend/database/action_items.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ff5a98fb1c6ed53186cb8621d5fdfb50cfa68ed24a3cd6a132356d07775e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/advice.py:59-64 | backend/database/screen_activity.py:79-84 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/advice.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0a063a5198d5302c954186c2f905f305ef15546048fa0fea451bc654b6d309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/announcements.py:129-136 | backend/database/announcements.py:196-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/database/announcements.py:129\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":"backend/database/announcements.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"050915a31e8812785a9c15085e98c4340ad6e2e61fe5f4711b47991666d4a91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/apps.py:463-468 | backend/database/apps.py:474-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/apps.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e02c16f4fcdae03bcbfb16716e5f6d94d5fbbbff9f06d57135e586ec1aadcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/helpers.py:71-76 | backend/database/helpers.py:105-110 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/helpers.py:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/helpers.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf5b5ff0df743fe762bd2e038baca1a87fa332963feafb2e702172113f239b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/memories.py:277-282 | backend/database/memories.py:613-618 \u2014 both copies are in the same file, so extract the block 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":"backend/database/memories.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"081c02dccde925435a01d7fe0fdfcd4abe708e9962cbda96e2197c37eced1b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/memory_apply_store.py:1161-1166 | backend/database/memory_apply_store.py:1209-1214 \u2014 both copies are in the same file, so extract the block 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":"backend/database/memory_apply_store.py"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1848d4f76f6a765a98d59e339679acb1bbc753aed8d868ed66ad1d91a58c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/database/memory_ledger.py:313-318 | backend/database/memory_ledger.py:366-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/memory_ledger.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"623e2cd90b4a03223c56b464012adcbf1007e1e81de99f6b39a9045d04051435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/llm_gateway/gateway/providers.py:699-704 | backend/llm_gateway/gateway/providers.py:753-758 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/llm_gateway/gateway/providers.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c3cf7b370c61b7fb7e450df11dad1ad8b57af958c316979c7417ad48a813a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/parakeet/stream_handler.py:771-776 | backend/parakeet/transcribe.py:357-362 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/parakeet/stream_handler.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd046add622abd682e0ed2cc8c2cdb36dc482a06ad45e3d13cf55e1e77494ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/routers/desktop_agent_vm.py:635-640 | backend/routers/desktop_agent_vm.py:650-655 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/desktop_agent_vm.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"91de729de4b3fa030c85c22fac2ea71b9fe1b3c3b71ec259d15c2cdad2478708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/routers/users.py:1553-1559 | backend/routers/users.py:1719-1724 \u2014 both copies are in the same file, so extract the block 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":"backend/routers/users.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fe72270e11ed38812a09f0adbb37f01a48dba62c7287897a342997e8ac6d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/benchmark_nllb_performance.py:298-303 | backend/scripts/benchmark_translation.py:484-489 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/benchmark_nllb_performance.py:298\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":"backend/scripts/benchmark_nllb_performance.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38ac252628b59809b382e2d5698947cf6581a9b2c32a4aaa47621be215cb67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/cutover_evidence_readiness.py:210-215 | backend/scripts/rollout_schema_readiness.py:214-219 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/cutover_evidence_readiness.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5584c6a8bb6df3500731392c0d7d8b0a0e57899bad4d209e12e31cafb1509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/export_openapi.py:936-941 | backend/scripts/export_openapi.py:971-976 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/export_openapi.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"345a08ae31a0d1343daf93411c72757a1d35b5c79ccd64e65e0ff0042cb90cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/pinecone_repair_validation_readiness.py:99-104 | backend/scripts/shared_ns2_legacy_isolation_readiness.py:99-104 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/scripts/pinecone_repair_validation_readiness.py:99\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"backend/scripts/pinecone_repair_validation_readiness.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab91faae68789582e4266adf41b905b805a441dd1998700abaf13ceba585fe00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/runtime_env_durable_dispatch_contracts.py:97-102 | backend/scripts/runtime_env_durable_dispatch_contracts.py:124-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/runtime_env_durable_dispatch_contracts.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c785d54921580d096ec349aa6529b418daa1c9aff47d416c3cd59580005066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/stt/m_benchmark_streaming.py:413-418 | backend/scripts/stt/m_benchmark_streaming.py:422-428 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/m_benchmark_streaming.py:413\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":"backend/scripts/stt/m_benchmark_streaming.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9191328a78fe306eeaef92a53b2ef1e683d1fd21deb0eaf9d6ef6654e87a285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/stt/n_benchmark_02_prerecorded.py:330-335 | backend/scripts/stt/o_benchmark_02_streaming.py:349-354 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"backend/scripts/stt/n_benchmark_02_prerecorded.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d392803485c2dfa2f369c6ffd7c37337f937eef1118d1539751ecb5132c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/stt/o_benchmark_02_streaming.py:319-324 | backend/scripts/stt/o_benchmark_02_streaming.py:330-336 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/o_benchmark_02_streaming.py:319\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":"backend/scripts/stt/o_benchmark_02_streaming.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6accbeb1ee3bdd2c883870486cf662a1be66b0e111a3a8bd3b305c1a1466fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/stt/r_ab_modulate_compare.py:387-392 | backend/scripts/stt/r_ab_modulate_compare.py:399-404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/r_ab_modulate_compare.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0345c4f639f41378f878df1ed0e0652af3de937b29a805a3d587f6701b33135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/stt/t_benchmark_multilang.py:145-150 | backend/scripts/stt/t_benchmark_multilang.py:241-246 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/stt/t_benchmark_multilang.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c65fb56d16ede312b0eaa19166f9cece90b526cd02298f53ec96486432d4dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/scripts/stt/w_benchmark_parakeet_multilang.py:151-156 | backend/scripts/stt/w_benchmark_parakeet_multilang.py:160-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/stt/w_benchmark_parakeet_multilang.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f06bc57b73470c0bcec451b1256e4b16ac08ffa2bd63cbe8639e4312878d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/services/agent_vm_lifecycle.py:412-417 | backend/services/agent_vm_lifecycle.py:463-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/services/agent_vm_lifecycle.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"424093324f4b917b89bf645ce7f45759cf95a154aeec44207552e32d065d9497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/listen_pusher_stack/run.py:1325-1330 | backend/testing/listen_pusher_stack/run.py:1338-1343 \u2014 both copies are in the same file, so extract the block 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":"backend/testing/listen_pusher_stack/run.py"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc84efb4962ac1e5256ee645c6d1a3c65eb5fe0d95a5732221a7f577145f73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/listen_pusher_stack/run.py:1333-1338 | backend/testing/listen_pusher_stack/run.py:1352-1357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/listen_pusher_stack/run.py"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b242a2ac3a46eca117cd20aa47d78d5c256016f5933af17daa57070c53665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/listen_pusher_stack/run.py:1691-1696 | backend/testing/sync_cloud_tasks_stack/run.py:940-945 \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":"backend/testing/listen_pusher_stack/run.py"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2753dbccd10899b57c07c5c30de472b3aff95907811f0351922d414695ec400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/replay_harness_lc3_frame_timing/oracle.py:370-375 | backend/testing/replay_harness_stt_wire_fidelity/oracle.py:209-214 \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. 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":"backend/testing/replay_harness_lc3_frame_timing/oracle.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a1ff72d12a1c51d54c5632898fc1741a231511024032555253e25fb7a7db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/replay_harness_phase0a/attestation.py:423-428 | backend/testing/replay_harness_phase0a/attestation.py:479-484 \u2014 both copies are in the same file, so extract the block 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":"backend/testing/replay_harness_phase0a/attestation.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8c4948ccd8e36fdb9a6494765ed749825aa56f7f8d1ad59ddb3812da0903d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/testing/replay_harness_phase0a/egress_guard.py:214-219 | backend/testing/replay_harness_phase0a/egress_guard.py:221-226 \u2014 both copies are in the same file, so extract the block 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":"backend/testing/replay_harness_phase0a/egress_guard.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"032e879dd7ec59fef07716883316edb4012704b032c5ffc4406b847b8b976d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/utils/app_integrations.py:761-766 | backend/utils/app_integrations.py:906-911 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/app_integrations.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3baed76e0ec73d3d19ee4c929e38e85f27bf802cc6fd96b924eee87b8cdf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/utils/llm/clients.py:285-290 | backend/utils/llm/clients.py:297-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/clients.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"274f882927f8d8178429af2acdcd36eccf706e2827fe82ad4bb961fe33145c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/utils/llm/clients.py:315-322 | backend/utils/llm/clients.py:330-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"backend/utils/llm/clients.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f5fe8d0eece706c21decd0009fcf46b5d38ca2ee22329b8ea72407df495919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): backend/utils/memory/canonical_memory_adapter.py:492-498 | backend/utils/memory/canonical_required_processing.py:194-199 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/memory/canonical_memory_adapter.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2becccd9e9f489b3759027e250ff5f8c6e9bedda7a372e89c56d626354e593d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): backend/migrations/001_enhanced_protection_default.py:69-73 | backend/migrations/001_enhanced_protection_default.py:77-81 | backend/migrations/001_enhanced_protection_default.py:85-89 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/migrations/001_enhanced_protection_default.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d81178f8205546a5ca4432fade31301242b62c9fe2b1c9d3152da016202c1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): backend/routers/mcp_sse.py:1021-1025 | backend/routers/mcp_sse.py:1331-1335 | backend/routers/mcp_sse.py:1374-1378 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/mcp_sse.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"be798dac12b4c1746b2858824d7c1665a7ffd3e54f6832ff1fc27cbffd92d02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .github/scripts/desktop_release_metadata.py:59-63 | .github/scripts/desktop_release_metadata.py:67-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 \u0060.github/scripts/desktop_release_metadata.py:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/desktop_release_metadata.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf688196c0822410fbabe023380ede3b620e9781755bbcfc477b7340b202717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/agent-proxy/main.py:783-787 | backend/agent-proxy/main.py:862-866 \u2014 both copies are in the same file, so extract the block 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":"backend/agent-proxy/main.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e48e21a053f4a9eeaba7749114726b541b53b0a7847fc91d5e5216cd515dc4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/desktop_update_channels.py:321-325 | backend/database/desktop_update_channels.py:417-421 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/desktop_update_channels.py:321\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":"backend/database/desktop_update_channels.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"453e5d22f7dc46669f1a5517142fdddee693431ba6c8964322fe2dcd294547c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/llm_usage.py:46-50 | backend/database/llm_usage.py:155-159 \u2014 both copies are in the same file, so extract the block 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":"backend/database/llm_usage.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2c42aa31ba4a821788ff0772f0d79d8faead0f00e12a0544421ccc44af9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/memory_ledger.py:306-310 | backend/database/memory_ledger.py:353-357 \u2014 both copies are in the same file, so extract the block 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":"backend/database/memory_ledger.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18dfe9d1890d99af98f748bd07380f986d6fd3797fa7dd011aac052a974d4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/redis_db.py:604-610 | backend/database/redis_db.py:673-677 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/redis_db.py:604\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/redis_db.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b581ea37e87438736a7dfa121c98e014fce22abf450cfa5c2daa6ed1c196a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/sync_ledger.py:135-139 | backend/database/sync_ledger.py:202-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060backend/database/sync_ledger.py:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/sync_ledger.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69caf6b09ca15d50f9b5e46c82e9fd211c92cb8faa9b7f616d73a9f84b71adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/sync_ledger.py:387-391 | backend/database/sync_ledger.py:483-487 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/database/sync_ledger.py:483\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/database/sync_ledger.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a69f09173d711606c2d28a4a1db52617a132e3c5bc3358f80a18376e8f92d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/database/vector_db.py:1200-1204 | backend/database/vector_db.py:1226-1230 \u2014 both copies are in the same file, so extract the block 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":"backend/database/vector_db.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"22738f2f654824e96e16f28a6ef75d06f013db193ca2a5013be636361efd6f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/benchmark_translation.py:354-360 | backend/scripts/benchmark_translation.py:372-376 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/benchmark_translation.py:354\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":"backend/scripts/benchmark_translation.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3adf17bd07999a9ff8e732a3daac25ed8bb73a3ae875e34e9e2df1c3add06ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/benchmark_translation.py:526-531 | backend/scripts/benchmark_translation.py:536-540 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/benchmark_translation.py:526\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":"backend/scripts/benchmark_translation.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"affdc85e4fde9087964b4b034d9a52e163127bd9598d3451d82ebc5f70bd37ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/check_app_client_openapi_compatibility.py:416-420 | backend/scripts/check_app_client_openapi_compatibility.py:422-426 \u2014 both copies are in the same file, so extract the block 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":"backend/scripts/check_app_client_openapi_compatibility.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6b1f01df1bcbe7732787547f73da978f1a9fd15e962a5da9db587231116eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/inventory_app_client_schemas.py:1126-1130 | backend/scripts/scan_async_blockers.py:777-781 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/inventory_app_client_schemas.py"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"83db6b40991e01ea49fbbbf249b3203f2c8289841402f502b762d88e70cf537e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/render_backend_runtime_env.py:59-63 | backend/scripts/render_backend_runtime_env.py:72-76 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/render_backend_runtime_env.py:59\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":"backend/scripts/render_backend_runtime_env.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c90c5bc3dffbed352057932f94ff6af83a821e5c940f72dbf761b613cb0ee0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/runtime_env_validation/cloud_run.py:161-165 | backend/scripts/runtime_env_validation/manifest.py:199-203 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"backend/scripts/runtime_env_validation/cloud_run.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c737a90fc52196ed22aedebe5ca3c1a1f6c7acbb2fde00a902cfd91008016b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/smoke_mcp_chatgpt_review.py:61-65 | backend/scripts/smoke_mcp_chatgpt_review.py:78-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/scripts/smoke_mcp_chatgpt_review.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b009bcc52292b43c1d9426c3058a93d0b19ba4d3bab4dfbf908f6941168e9848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/stt/n_benchmark_02_prerecorded.py:310-314 | backend/scripts/stt/n_benchmark_02_prerecorded.py:318-322 \u2014 both copies are in the same file, so extract the block 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 \u0060backend/scripts/stt/n_benchmark_02_prerecorded.py:310\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":"backend/scripts/stt/n_benchmark_02_prerecorded.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"518d0d64dafe570662836e21ac4a8a09fbb87dcfceecc2f42e1c98332a7e024d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/scripts/stt/u_benchmark_der.py:380-384 | backend/scripts/stt/x_benchmark_parakeet_der.py:259-263 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"backend/scripts/stt/u_benchmark_der.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dcc8e76afedff390fa10a5d11b34ad4fbb4f72704f80252eae9a0bd4c2a1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/testing/sync_cloud_tasks_stack/run.py:741-745 | backend/testing/sync_cloud_tasks_stack/run.py:762-767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/testing/sync_cloud_tasks_stack/run.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"25da90014532f9c073efbf172976c6a7a1a0b87691519a82073425e0c4e3c549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/utils/listen_pusher_session.py:248-252 | backend/utils/listen_pusher_session.py:353-357 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/listen_pusher_session.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccc5d1a7a8a8726b25b843c6a688f58a09ae1aea8a953b4c7ecc3e4813282cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/utils/llm/conversation_processing.py:1353-1357 | backend/utils/llm/conversation_processing.py:1430-1434 \u2014 both copies are in the same file, so extract the block 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":"backend/utils/llm/conversation_processing.py"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7745255785c496296a8d892b7a0a8eddfb6cc965074d28ce54e62b8fa16c40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): backend/utils/llm/gateway_shadow.py:203-207 | backend/utils/llm/gateway_shadow.py:213-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/gateway_shadow.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"607409912500776a2502a76d21fe3b45eeae6977b7bb0cb11960bc4dc1848aab"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bb5f664bbf214117e0835cf2193fe79bace99fec8b76715578178a3b78d00fa"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f23abffdd2aa0091cd185c857c16fd58aa15450a02d29bea0df8451c3f5f2822"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91d42326b953fa2404f262de860df1f9d75ca831a4f2a5594d8ca839748838d4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"546d27b9e1442737ca202de7f1089b8442cc395705618deb0361f0146096414f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12ae94438d258d7457f1a0ffa2f7d73e942299ce093530f7c5d43e418140ac99"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9592eacbe69c7980724d033bcb83c20b241c228b0816cbce79290fa49205f2e4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd6942978d83bc68bba9dd00307fcd5f52a504d57b29accf51bf5901f0671db2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c786b5770deae4aab4917c1a356ae6116049f0897aff0e45d080caa84443c4fa"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/macos/agent/src/index.ts: desktop/macos/agent/src/index.ts changed 95 times in last 90 days, max complexity 315. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/agent/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"542c245c200fb8cd23f5fb19609a4521943d39ca23b8cd33cc3f3667822fef80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/macos/agent/src/runtime/control-tools.ts: desktop/macos/agent/src/runtime/control-tools.ts changed 72 times in last 90 days, max complexity 135. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/agent/src/runtime/control-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0219f831f4aa374fdf7e87895e19456d70b9704f25d5407344e64fef8e3ecc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/routers/mcp_sse.py: backend/routers/mcp_sse.py changed 58 times in last 90 days, max complexity 122. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/mcp_sse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c389b22e7fb32c2f768c69cd175604a8899c47ef42ca193d769c3392a7c699"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/routers/sync.py: backend/routers/sync.py changed 62 times in last 90 days, max complexity 72. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/sync.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2201fde9049b36891bb3e6c996c4f4ab2bf12189d0acffaae10eed12bd200543"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/utils/conversations/process_conversation.py: backend/utils/conversations/process_conversation.py changed 66 times in last 90 days, max complexity 46. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/conversations/process_conversation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7b15ad2e13a3bdc11d17b989d1f1b7e8d751fb72465ab4af530745a6d07bab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/scripts/check-release-process-guards.py: .github/scripts/check-release-process-guards.py changed 50 times in last 90 days, max complexity 49. 26 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/check-release-process-guards.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee27147b1713c9ae8624d0246f40e737e2e2d0bdff3779c4e9d147293b4d792"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/utils/sync/pipeline.py: backend/utils/sync/pipeline.py changed 22 times in last 90 days, max complexity 106. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/sync/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"548ed115b3bf8734639fe51497e39c72b76bf82b707ebc65d41e99b743769cdc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/windows/src/renderer/src/hooks/useChat.ts: desktop/windows/src/renderer/src/hooks/useChat.ts changed 38 times in last 90 days, max complexity 61. 13 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/windows/src/renderer/src/hooks/useChat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e1aab4b7a8c80c1081df5c38f28b2eb788cbe799cf2ef04d229865bf3f464"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/routers/payment.py: backend/routers/payment.py changed 33 times in last 90 days, max complexity 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/payment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdbf898f9c725130735f629d7974a1421c089ffbed82d3d547c790affb64b4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: backend/routers/developer.py: backend/routers/developer.py changed 71 times in last 90 days, max complexity 30. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/routers/developer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98acbcf8021e76c14583a88a9c50279fd74f2285371d8a0758e704d7c5b66f6c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 211 significant file(s) lose their only recent owner: desktop/macos/agent/src/index.ts, desktop/macos/agent/src/runtime/control-tools.ts, desktop/macos/agent/src/runtime/kernel-core.ts, desktop/macos/Desktop/Sources/FloatingControlBar/AgentPill.swift, backend/utils/memory/canonical_memory_adapter.py, backend/utils/memory/canonical_consolidation.py, backend/database/memory_apply_store.py, backend/utils/memory/legacy_backfill.py (\u002B203 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b160ffdbc5be7c30e5cd2da4583756465d6831e6d85a4cf7e9acc65de12dde0f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 118 significant file(s) lose their only recent owner: app/lib/pages/settings/wrapped_2025_share_templates.dart, app/lib/pages/conversations/auto_sync_page.dart, web/app/src/components/conversations/GenerateSummaryButton.tsx, app/android/app/src/main/kotlin/com/friend/ios/ble/OmiBleManager.kt, app/lib/pages/conversations/widgets/goal_tracker_widget.dart, app/ios/Runner/AppleHealthService.swift, web/app/src/components/layout/Sidebar.tsx, app/lib/services/wals/ring_storage_sync.dart (\u002B110 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"662fb232db602c69eedf1a9dd419e04d409fa492999ab992dd6a27027b215c1d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 54 significant file(s) lose their only recent owner: desktop/windows/src/shared/types.ts, desktop/windows/src/main/ipc/db.ts, desktop/windows/src/renderer/src/hooks/useChat.ts, desktop/windows/src/preload/index.ts, desktop/windows/src/renderer/src/components/graph/BrainGraph.tsx, desktop/windows/src/renderer/src/pages/Apps.tsx, desktop/windows/src/renderer/src/pages/Goals.tsx, desktop/windows/src/main/ipc/omiListen.ts (\u002B46 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eaee5e1a319521ec5d175c54856a1fd890953623ffdffd91877d1fa48f56cc05"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 23 significant file(s) lose their only recent owner: web/admin/app/(protected)/dashboard/notifications/prompt-tester.tsx, web/admin/app/(protected)/dashboard/subscriptions/page.tsx, web/admin/app/(protected)/dashboard/fair-use/page.tsx, backend/parakeet/batch_engine.py, web/admin/app/(protected)/dashboard/reviews/page.tsx, backend/utils/voice_duration_limiter.py, web/admin/hooks/useOrganizations.ts, backend/utils/stt/safe_socket.py (\u002B15 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a44c0988eb6cf07bce83343d9d492a87885f780a8342bccaa8449a32f90a07f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 23 significant file(s) lose their only recent owner: web/admin/components/dashboard/resizable-chart-grid.tsx, web/admin/app/api/omi/stats/infra-costs/route.ts, scripts/apply_export_preview_overrides.py, web/app/src/app/(public)/apps/[id]/page.tsx, web/admin/app/api/omi/stats/viral-metrics/route.ts, web/admin/components/dashboard/agent-prompt-widget.tsx, web/frontend/src/app/apps/utils/metadata.ts, web/admin/app/api/internal/precompute/route.ts (\u002B15 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f0fe907ada34d508cdbe51745ce42fb15c626e58f46882bd0c4491efd4770aac"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 8 significant file(s) lose their only recent owner: sdks/python-cli/omi_cli/auth/oauth.py, sdks/python-cli/omi_cli/client.py, sdks/python-cli/omi_cli/commands/auth.py, sdks/python-cli/omi_cli/commands/conversation.py, sdks/python-cli/omi_cli/commands/action_item.py, sdks/python-cli/omi_cli/commands/goal.py, sdks/python-cli/omi_cli/commands/memory.py, sdks/python-cli/omi_cli/auth/store.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e71c0df803d70c5e3eb3180b526e8ecdc99eb43ede7db873710a064e4c01daeb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 7 significant file(s) lose their only recent owner: desktop/macos/Desktop/Sources/Onboarding/OnboardingStepScaffold.swift, desktop/macos/Desktop/Sources/Onboarding/OnboardingExportsStepView.swift, desktop/macos/Desktop/Sources/Onboarding/OnboardingTasksStepView.swift, desktop/macos/Desktop/Sources/Onboarding/OnboardingLanguageStepView.swift, desktop/macos/Desktop/Sources/Onboarding/OnboardingHowDidYouHearStepView.swift, desktop/macos/Desktop/Sources/Onboarding/OnboardingTrustStepView.swift, desktop/macos/Desktop/Sources/Onboarding/OnboardingWelcomeStepView.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8acdc5bce4f61d752db3235c3906cd44b7a874697afbe648b1c9a211200d547a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #8: If anonymized user #8 becomes unavailable, 7 significant file(s) lose their only recent owner: web/app/src/components/tasks/TaskCard.tsx, backend/utils/retrieval/tools/web_tools.py, web/frontend/src/app/recaps/[id]/page.tsx, app/ios/BatteryWidget/BatteryWidget.swift, app/lib/services/quick_actions_service.dart, app/lib/pages/conversation_detail/maps_util.dart, app/lib/widgets/photo_viewer_page.dart. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eac2740ffeb0b0684289921e120e6fdb32319fcc3faec948778b26b9f427a444"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #9: If anonymized user #9 becomes unavailable, 6 significant file(s) lose their only recent owner: desktop/macos/Desktop/Sources/Bluetooth/Connections/LimitlessDeviceConnection.swift, desktop/macos/Desktop/Sources/ProactiveAssistants/Assistants/TaskAgent/TaskAgentManager.swift, desktop/macos/Desktop/Sources/Audio/AudioCodecDecoder.swift, desktop/macos/Desktop/Sources/RealtimeOmni/RealtimeOmniService.swift, desktop/macos/Desktop/Sources/ProactiveAssistants/Assistants/Focus/FocusStorage.swift, desktop/windows/src/main/ipc/screen.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3fda8b5fac0d03da54f3f662c46be3c75cc9b09e9da19022671e16873587c4ea"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #10: If anonymized user #10 becomes unavailable, 5 significant file(s) lose their only recent owner: backend/utils/llm/proactive_notification.py, backend/utils/other/hume.py, backend/models/announcement.py, backend/utils/retrieval/tools/notification_settings_tools.py, backend/utils/retrieval/tools/file_tools.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"feaa59d0b3f1f47441d9f2a16fc4270b722cbbad1cfa41bffd2d9a4e485db2e6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #11: If anonymized user #11 becomes unavailable, 4 significant file(s) lose their only recent owner: plugins/omi-openfoodfacts-app/main.py, plugins/omi-open-meteo-app/main.py, plugins/omi-public-holidays-app/main.py, plugins/omi-frankfurter-app/main.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64a0e7e824d89b0474938bf3990cfec37e8b04d3e0fea80951c76a1781117b57"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #12: If anonymized user #12 becomes unavailable, 4 significant file(s) lose their only recent owner: plugins/omi-stack-overflow-app/main.py, plugins/omi-open-library-app/main.py, plugins/omi-wikipedia-app/main.py, plugins/omi-hacker-news-app/main.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44a84a56262d08b0492081c99249070c1ab7a56500d4724ebacebb32c22ebd1d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #13: If anonymized user #13 becomes unavailable, 3 significant file(s) lose their only recent owner: plugins/omi-pubmed-app/main.py, plugins/omi-semantic-scholar-app/main.py, plugins/omi-crossref-app/main.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1cd381b5d8e3258c3416596789cd6b77a1ad3f073687cc262d810fd80b39e24"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #14: If anonymized user #14 becomes unavailable, 3 significant file(s) lose their only recent owner: desktop/windows/src/main/ipc/kgWriteQueue.ts, desktop/windows/src/main/ipc/kg.ts, desktop/windows/src/main/ipc/kgWorker.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b5673c6969e089d4cd968011aabb3e0cf0e8d1e1337b15901a718619b784a678"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 10 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (489 single-owned of 2485 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #15 (2 file(s)), anonymized user #16 (2 file(s)), anonymized user #17 (1 file(s)), anonymized user #18 (1 file(s)), anonymized user #19 (1 file(s)), anonymized user #20 (1 file(s)) (\u002B4 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"The BLE setup warning (pod install after npm install) and platform-specific XML config are clipped mid-quick-start.: Verify the outlined Installation or Platform-Specific Setup sections are fully present in the visible text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/react-native/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e7a90fd5fd3d8c310ee29913364b794d430d95b7e30740e34c50e4569824c5"}},{"ruleId":"D19","level":"note","message":{"text":"The Omi App Configuration table lists Setup URL and Setup Completed URL, but the README does not show how to navigate from the setup page onward (e.g., after auth, where to click to complete setup).: Add a short navigation note or link in the local development section pointing to the Setup URL."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/omi-twitter-chat-tools-app/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a2c3c1a6ddc2422c83a0ff7ef5d158905087ef52d24862f70c77e7e6c8e2b0"}},{"ruleId":"D19","level":"note","message":{"text":"The README describes voice-activated Twitter posting but does not mention how to handle rate limits and token refresh after one-time auth.: Add a brief note on handling Twitter API rate limits and auto-token refresh in the AI-powered extraction section."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/omi-twitter-app/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb4fbbf752d1f11e9485be35b985df547e6a5fdc6238e18a1cd208a5c5a979d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c19aad898140919210aae35cbc78669f86b08c13f18176fae626d1a5c46baa8"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9edd007d783443f4dc3e14648f5d895061ed59196c7434bf334db980bcc4860d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"576ab992bc70feceacadc4cea6ebe20dd63342ffc36320e6a8521b7aa9335ead"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f444a80458e494fabab9c711d3b593ecf13a138a6bd1d7279b98180d5524e0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10c23d2161d03b0bb27df905078f8da2ab1ef8a0aa699fbd491863d1729f30c4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75b99c1888702cead2682c365082ad6bac97c9ab415ac0b396b190b5f52674ad"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2782a569bcdf0304b085e8df278e69eaa78c44ea9e4e41c202a4f29eb68ae195"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f40541740d5393b067fb5a883cbfb0f33776195f2ad1cddfdb02c84970feb5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c42b2d7d5992318b978d43fa4051c6052b244f35c9fbdc5fc881ee6d03f560c2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"559e55795e46a8896f35feec76850d1e08b3ce01c375c54a3fffc69aae23a952"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"096f33d953f53b2b04e971bbaa64b67f844831017198aed5be679da07a191c46"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fccb235a88ee47d21391693a6b3692b960e60c77a551b8d9b7ca9569d2bbc942"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43c0de1059525db76eeacdba38a2b16b1637302cc337d6751c0dab9f2c7e8840"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12f87f7a722f6d9a21664c5ea54042d567184db47494cb98f6b4cfb6bd9d2e82"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"047659ff5652b51dbac8d25dc3eabb34bc7418a5341cb9077aab8534df435008"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63b302b5afef5ea2188ca77060cb730bf524a4cd5539785b9dc89201c95be7a2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ff5cf2987a696079e18e3c731ed12a3bb38958d0cda93e6ac2e86c50cd7e285"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f01339e52ef1b6be0a0016f6118a8a8136d800e6ea16f1ae3d4913b0ed2f5fa"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61529f8e032e75695378b086a8d5160f132d8b3122b0d456f3ab58f54c219023"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3611d647de84d95058f57174628dbc15c9799918f4504386b1267fd441ca3ca4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2505b62180dcc4f64b005639d28e2d5b83619c21e98c489ef9a2d3ae8135a8ec"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faf01f3cad4c3e9f550b738ec2e33e3fea8031cf74e338d55ecbc9cbb5572e8d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d37c6683728bae28785600123200ca54b1eba9f73f92fc8b65ea5b394cc92870"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f9b91549b838f50492ecd3cd70dc27b2c27027359496dd98df6a870e1b886b4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08220cbfbc3afe7292d1d50e7c508b8fb8e3e28acdbcd80b2dbe0854723bfd86"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"207ea172fd2d6a85c08e505f055c2518dba8742180c69c3f599e2069db4564dd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"512e3a6c7abc4af16ad2e63c04bc6fb6628e3c3c735f5ee966f1948a0437a3fa"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"610b15329d7737174b4a6030c62486f2034863de3dde4f0eb9b5d087b864a4c2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0a05275af018e1c923345d27728c7550335338817c5445ffad36c3ea40618b4"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32710e7054decd1e231f29e52f617b3b15bcb2beab08b648cc3680d8c309ff5e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ed51e2438e82dcc0855d5a96ea445d02ca7599f6d6a3b19e0cb2df5ca9898fa"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8cbf76717ea8693db2a99b6fd160716bbbbbd3f8068b29b0e2aa37bc506ae6c6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e20efba09d7e36a77dbdebb4f7a7274a4e34b18cb68256e561d7bf1207c16bfb"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ff9ba942931ec0ecff896f4c14688e08251c6b143dabf6cf361fe1208cd0248"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7118d5c7c4dff27b2b872881dfdaaf54192bc5da4d00f685078ce085e5ad6577"},"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"}}]},{"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":"2953ccdf02f01ed836afe08a49746ca4dae6cc3b9f93fe71151fc6091c163e9e"},"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"}}]},{"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":"7b7d6a48ba72bfdc8dac8956e2bf2cbb23f57ca188dc3354acd7a60fa933d5ca"},"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"}}]},{"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":"b7e4d05fe2be0baf85a272ebd4cef517db5bcb876ce83d49285c951830821367"},"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"}}]},{"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":"38979d319a8475c45d4a65c5eb06d7e6f3689a9fa7c952dc4796542688cf9a13"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"06563d2d63bc1b89c413d332cdd245e1fb80c290dd2f3a21bef2c744ff7177ed"},"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"}}]},{"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":"1b7b65f2e8015be30930568d87ae21640948c1a4f6917c9317fa4b9c1af4b1aa"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"169c981fa4966e975c351a8e7e9b498e95b347a3e415fc21f299aa274667676e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"5a65937ad78f2e0072122b5423dc94a8be0aaa49d4f3bc9373ecedfea135f7cf"},"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"}}]},{"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":"9c7856c24208a8aa895aa275b2345463235045a360667d6535d0a1b84a62fb61"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"5ea7cb1d9f3e62c92284a2b83727b15a1d79a57c11f335f014621b4dd8492d61"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"eda8218d3bd224e9b26b3fee4341b253943ec2b44a2b3fa0336f6a42976b8aa2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6309bc52f3fe71e6467103c4972fe29c9d6fa58015970e9623ef1e31100602c3"},"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"}}]},{"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":"c2fe12d482603ef3e224ead145f78d9a3044bc05cd4b19d6c6cc278504a9d7c0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"3ca9d56d3bcdcb3d66c4f21b8cf43935fe7293dc46095f537d5fadd843a3eed9"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"bc19336d0f78e678adc5441840bde3769fa8ca9e0106f1046b7b3095999be4b8"},"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"}}]},{"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":"37cb9565e78e0de9df4518ea1ec611478782c5e262cce3a8075452a3209af01f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f760cbda57faf3aa5f0efe46e1733efa44b75b5409e36a59c48c56f264a83ad1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e2c37ae35dfe037adc96352c2e56a4a3deba6c7c211e1403462a8fa19d002074"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f20dbccf53f5204ae1d3f5e15776fcb3cbaf43f43d37ee7b98c83ae65124b23e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f8d277ee9070e648277a406e55dda0a19382f64eea834108c69b99d4bfc83b4c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"42f60ca832495b45c97216b574079610c0ad4d557a930e9122b73c36b040a084"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"cdf340d05f198968f580fcdc3794cecc51faaa1c167411a8460cc8c6202d3fc6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6beeafdf47a4f84e14548243b36af14ac1f51875080df73e545369cc418dff62"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"951c62ee66a4610452bdc635b9b9f572239cfa15ad635c6b1236c58958453188"},"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"}}]},{"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":"3cccc332f0d0f12fe046ed47f9b575e53038650a2def8bb1ed48ef58cc236c01"},"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"}}]},{"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":"5256bb569fc4bbd44765cda7c212412af13972e6eec1e0f09bd643bd5026def4"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a2c17c4cbf6cb9ca2e080fe19e91589f6117a6a361da22fdbf762aa19e7915fb"},"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"}}]},{"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":"aac0d3291990622323a7f02b46bc80d72bef93f7088753897d4dda40f9aa3af6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"75ec6ed0f12f2488da02ad527079f4fe07a5fa543da30acb8f12746d8222fed5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a281b3dc39bb7001ef7ba9923d2a65044bdc632d0b0a82ba6a7b0a65932bebd6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"3bc589d8c7eabcfa4165a66a7a57dea6ccef4dc48d8e63a11671fb1d4abff1d0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e6c2bb65a0d0cfc1db1ebb88df17082aef4d610d7e8bb3291328fde81f5e3277"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"046e462b939e2e8b50621495559adc35a8c74453a89131892e61a36a19390b37"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7c754d14cdfeb1b6922e3bdc9aecc20ad927702cab016db30325496e3ae86630"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8d69589c9b90634c5411ad1d0a01e3d4f80878b0a52bded4dee9eba94433d75c"},"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"}}]},{"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":"7c7c23d9dab40d14fdb610e4106d9128a186c1c07d0b2825a015ce70203ddf95"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f9090142b3afc6d0f91e009c00d4d9c606d3da7f7f838e805e3b4579dbae7618"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"c2e127df24784adcbfa641b09931b7582bd7e9aba5a022e8ef9f70bcb53b3553"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"bd635cb8725ebc90e144762905f3957f01066e4120007a4c73e98125aee83b65"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"d70c7297ace675c5c6dd3d0c6117322711148f37ad40e92e085b424d9d284a7c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"69c4a8b53dad30983a304daa41304f6ecabc89849b39dd4b6917e26efdbab40b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"43456feb8f623cdc1c86bfdd4918f3c948d9350ff9260804eacdaa526826214d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8bc0d661f80ffab1ac204f8b4d1b6c23fd0884a6878706a9c70fa2f282ed0b73"},"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"}}]},{"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":"0da6aaf07914d4ee14c2223709287cc389762fbc6d35250e8faa9eb64122232b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"2f67da7ad90d73aacaaf4018fb0bcdb8cda4eab21b7b42276ba17f592b7d109e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"19a11b9a02bdeef663f49a5d1024d6c3cd0d1070d678c5360dfabe12f68f38b3"},"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"}}]},{"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":"800cad1c95467ab94cf601bac6f657ffc57955e1ddf19a6353b7e9da53fab0db"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f6d8f438df20e973b9b8ad07b14c1df763ab341fa8e334d5bf425ffb006421bf"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"5718a2d0a60e1bd338bfb4b77d4f4fc0631f5f7dc4716aef45244af22c181603"}},{"ruleId":"D31","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":"06550ace652b2de2c2e5a7d5fcd1c8df0152b0eb554b62be52f643f4c5c6033a"}},{"ruleId":"D31","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":"2fa4c33d3833e0b86b9ce741f28a58e6e8ebe93814987f7bbde6da2719cc1386"}},{"ruleId":"D31","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":"64989cebed15b312b8af6c9c13bc981ba58f90d16db09f3a6217c8d8dc818ac2"}},{"ruleId":"D31","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":"f85b80aa01b30cdabaa4b3f6780fa646879c7fb8a3f69f91e3dc112573bf45cc"}},{"ruleId":"D31","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":"258a87db3950d768fb010a4ab74e33e2ead7ebc5e6a41060c47a9cdbb1d1f0ae"}},{"ruleId":"D31","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":"fe39a7f747e660a2bebb35f33da7627f169d5dbd952a5ff8347d244527dad3e1"}},{"ruleId":"D31","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":"65f9c9f27ad9fb4a5d0db6be3b746e077a4872fb0b820b8ab1595a2e3b89ff49"}},{"ruleId":"D31","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":"e3d821338fc4df1fd1c819a69cc039afe284b14677203bb1d886c48025d4f797"}},{"ruleId":"D31","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":"06ad4777cb8131afa5cfc7a1827b4f075e079c8611c905b4f3f3ecdf2bfc5604"}},{"ruleId":"D31","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":"2ea7d196f6ca324d7ef8d6677da35836b106774877117dde38d00c9588ea7b80"}},{"ruleId":"D31","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":"6a86d3baab68ae36240277ae9dbe6a419e3e66e7e056b396790999621010e1e8"}},{"ruleId":"D31","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":"ecbe2d8b54839064a25360285b7d5e08df58ce26994f07bb6552367fc9835c81"}},{"ruleId":"D31","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":"5bfd3840ff75947b37a9f868842b4e1c4597b75ce5c85a94960b6e3ff5002958"}},{"ruleId":"D31","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":"46b6cf65409f31cc85ed19af94ab9956a68cf609148d244f6b3c3bd4ab12ed94"}},{"ruleId":"D31","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":"b8cfdd681462f016303f7774a50e9ca826c7f18505cf25d37945e62f8dddf1f1"}},{"ruleId":"D31","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":"ca27cc113b9aace0afe652fed89cfc0d8afa29b6c42cf904e343a456cd987e00"}},{"ruleId":"D31","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":"35a3bcef96a0d146e1170344bcbf6a98ba70b03bff8f3c9996141820887e789e"}},{"ruleId":"D31","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":"577704575e1ff13e5b63aec1e98c9cd6a81fded40e96f2ac446e03db438d9290"}},{"ruleId":"D31","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":"f2c0a84ef1b23b47e82212ca249b33fc6b704520ce53064c2957fbae4a4001bd"}},{"ruleId":"D31","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":"a48c6d0e6666e9f18b57265245f3854165bdd98ec58432fb845b0894d3db5423"}},{"ruleId":"D31","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":"dbc3913286d0c8ac52f950a8a282ef37046113796b4a907d135b26d5cdced6d7"}},{"ruleId":"D31","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":"05d8ca926a6a38186fc8f5decffd7e2e0b70253b243d77fa8509927221ae3a76"}},{"ruleId":"D31","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":"52f71ef30970f0f9533048c2d969f0e455c3a4da0bdb9c9cd35b7dc1d3bdefd9"}},{"ruleId":"D31","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":"c11916072b67e74bdf377519d9b74a5f207af3faad02e3a7fce0d88a723b5e34"}},{"ruleId":"D31","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":"34daaa4e7fd3405442a86fe1498138b031d03afe0e91b31816acec1b49a59dbe"}},{"ruleId":"D31","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":"125aafe73cad007fd5882c5620354084f8de35b38c92c79aa741a2b0afbdff34"}},{"ruleId":"D31","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":"23506664024f9a7b40d8f8f9b971f55d606589661b8bc324a5dfc3cbefbfea00"}},{"ruleId":"D31","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":"f2dda429b236941fd916389827cb2c79b215d0fe4dabd8a69135a6980eb07490"}},{"ruleId":"D31","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":"acd37f50aec28288056501ef989617aafe0b1b89920655bdd73a023327632e81"}},{"ruleId":"D31","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":"0997899b28780e6f90d9fa0176a18cc2639bb26004c1f0f5a98264d688378311"}},{"ruleId":"D31","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":"89ea8ccb1f3923501af00589b49bfc7efdb06e05a2432eccbb9eaa04145c62bb"}},{"ruleId":"D31","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":"4571abfac7c6db26f61e85c30e80ece1f8b96ea373563e18d3a7bc7359789599"}},{"ruleId":"D31","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":"80a1c0972246825606f5d9dd0249ea77094c8ab5af77fb1293a04ddebd72b26d"}},{"ruleId":"D31","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":"7caeac40af9ca4e7ac69dcf2aefe8f30435abee7a1561e33ac96f6755ef60dbb"}},{"ruleId":"D31","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":"a409f751528a4d2e6ccb4832cc1a3e84ec505a271bbf72e8e60083bc3d03f6cb"}},{"ruleId":"D31","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":"9f54f5c51e462076a073205ce63cfa0e73c5a14ad841d6a5391b5dce664147db"}},{"ruleId":"D31","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":"2697dc785ce6d1054df52056c49479883a91ced49eb1f7b950b1c7da3eb12b74"}},{"ruleId":"D31","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":"bc9ffa0977be60df1e5ffd1a64f4ca26c953f153abce5fdf5d7018ed77a39d6f"}},{"ruleId":"D31","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":"ce9ee08777739f68b5424441e0f7c5c51cbbf008a9226aab4fa35a1548f2fc94"}},{"ruleId":"D31","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":"66b242b156a21b4132ce85ce2761d9b2fe47c4f41336703e6253e48de52c3ced"}},{"ruleId":"D32","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":"5be195bf8aabb767b0523faca448e26f5330a4d557c0111ed474076cd598960d"}},{"ruleId":"D32","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":"9d0c078ece0bea1eba9906b239f7ee9219f432b53333e0b9fd433d8a9425f855"}},{"ruleId":"D32","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":"404d79044833890336b20ec4cd6a12f3fae4d71c1fa58253ee14536f2d411060"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: message.dart \u2194 inventory_app_client_schemas.py: \u0060app/lib/backend/schema/message.dart\u0060 (context schema) and \u0060backend/scripts/inventory_app_client_schemas.py\u0060 (context scripts) sit in DIFFERENT parts of the tree yet change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/lib/backend/schema/message.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375eb847991bee94dfc9f0d9647b3ca05555d51121e48ca0fc411da9b0f85f60"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: conversation_finalization.py \u2194 lifecycle.py: \u0060backend/services/conversation_finalization.py\u0060 (context services) and \u0060backend/utils/conversations/lifecycle.py\u0060 (context utils) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/services/conversation_finalization.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc57cbdbab8feec276bd42d3f10769ff9cd4cb6eb5e2edcd774514e4a4c0657"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: rewind.ts \u2194 index.ts: \u0060desktop/windows/src/main/ipc/rewind.ts\u0060 and \u0060desktop/windows/src/preload/index.ts\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/windows/src/main/ipc/rewind.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348a2a5e0d4fbc97a168ac6b635b025da5f9ac2d4ba3f5fc18c3665a32869407"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RealtimeHubController.swift \u2194 RealtimeHubTools.swift: \u0060desktop/macos/Desktop/Sources/FloatingControlBar/RealtimeHubController.swift\u0060 and \u0060desktop/macos/Desktop/Sources/FloatingControlBar/RealtimeHubTools.swift\u0060 change together 61% of the time (25 of the 41 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/Desktop/Sources/FloatingControlBar/RealtimeHubController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f559f7cf3651711ff5b0cdbddcbc171b537258ffc3440bb48ae05ba9e537cc23"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: kernel.ts \u2194 worker-pool.ts: \u0060desktop/macos/agent/src/runtime/kernel.ts\u0060 and \u0060desktop/macos/agent/src/runtime/worker-pool.ts\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/agent/src/runtime/kernel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d5a0e129d44bd00d95d62444903c431f329c811e9f30f5b76103063e5dc97"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CalendarReaderService.swift \u2194 GmailReaderService.swift: \u0060desktop/macos/Desktop/Sources/CalendarReaderService.swift\u0060 and \u0060desktop/macos/Desktop/Sources/GmailReaderService.swift\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/Desktop/Sources/CalendarReaderService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60775134b5163486b87b6f50c9601b39eae1c67646d312d884c8e674af9c1433"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: acp.ts \u2194 local-subprocess.ts: \u0060desktop/macos/agent/src/adapters/acp.ts\u0060 and \u0060desktop/macos/agent/src/adapters/local-subprocess.ts\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/agent/src/adapters/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"560ae8249016e8efea9e3ccba7f90189ec79b80331533e8cc808276261b712ea"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: APIClient.swift \u2194 OnboardingMemoryLogImportService.swift: \u0060desktop/macos/Desktop/Sources/APIClient.swift\u0060 and \u0060desktop/macos/Desktop/Sources/Onboarding/OnboardingMemoryLogImportService.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/macos/Desktop/Sources/APIClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aea0468532d36a7c2d0694852db40d9375da79841e67a0f83fa7d0740dcb96"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: clients.py \u2194 gateway_serving.py: \u0060backend/utils/llm/clients.py\u0060 and \u0060backend/utils/llm/gateway_serving.py\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"backend/utils/llm/clients.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10be4b79db109f5aaeef09c0b8f98d8ff03e89cec9003709b553de4c6bbb3197"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: omiListen.ts \u2194 omiListenClient.ts: \u0060desktop/windows/src/main/ipc/omiListen.ts\u0060 and \u0060desktop/windows/src/renderer/src/lib/omiListenClient.ts\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/windows/src/main/ipc/omiListen.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a55a6aa294e8e91b2c5ac543e352d238ede0aa35b14fb9a3cbb9d1f9e0cc6"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"ruleId":"D38","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":"8b3083c69f946a9bb7a9e6fbbe96f490bc1fb7839c3cb716c4d034c674774252"}},{"ruleId":"D38","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":"b9921ce9d0f267bffa6a4577f207c6ab7e9ee3941090a3020af575131cf119be"}},{"ruleId":"D38","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":"2684f92dcd2dd68fed656f457d74dc7061bb2a3c52cc26ded3b91292268c0121"}},{"ruleId":"D38","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":"1a590956527c0d0837dc040cec81ee55138ab05ebe7d36463c6f67d39291cfa4"}},{"ruleId":"D38","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":"030e48c7e0ae8e76cb1988d54aed7d08141e503c4afb8f898dfe701a5e3d1cf3"}},{"ruleId":"D38","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":"939a784145e3b50ea59032988f5dae95e87ba127f73414e4018abcee1faf9be7"}},{"ruleId":"D38","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":"8338e8e179de8f27f4934312da1b01a535d03155568572161ee8f29a6bf9ae96"}},{"ruleId":"D38","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":"936442e2d844857616e4c67c7f36a4710504030fe49fa6cdf7c64aab9c1ae339"}},{"ruleId":"D38","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":"aad2b31c3f01f552eb4fb982db67ed797b3f922128c6036341f20a2c6f9f6eff"}},{"ruleId":"D38","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":"e832459ae8fb38241a85189919eee65275d8e014ea258890c7e18072f820861f"}},{"ruleId":"D38","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":"238613f8949553e66a5808bc02923aa8bab1c8c64ffd3a9448adab28bd313b69"}},{"ruleId":"D38","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":"0a89d5a927007cd6882a69ae5857276f5c39d5ca3b9469e540fb64292e1a225b"}},{"ruleId":"D38","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":"4547a7fca4f70c4779db25acd98c07aee40e07eabaca2bc0e625d3d0a8d0f3ba"}},{"ruleId":"D38","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":"0394444ea8084d715f55467a08bd7988cf3bf5208c38e17fda7b740c6e029385"}},{"ruleId":"D38","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":"f759f1461b5968daba8e4f414875f7861c16d32191a69d55bc8c4135f3ddbe5d"}},{"ruleId":"D38","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":"3408ba73d742f95f44d818454089e10ac9c88b950d8bd9a3dc7e920b87ecabff"}},{"ruleId":"D38","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":"149adad21a6c02dde5f12e6b6fcb9567e0d44006a3f506eb0719a8f0f166974f"}},{"ruleId":"D38","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":"f8fcd1cadba9310c82d1c7a05f11ec1db8e47d3dcd331b884d2516551fb1f3f2"}},{"ruleId":"D38","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":"c686dc6855c682d2122e090dcb6a713630e9259faf6259f43f3b88833586f127"}},{"ruleId":"D38","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":"f2550f1b3dc16e6feb904b51574bca6cd7a1db375b83a558c387f2d39739978b"}},{"ruleId":"D38","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":"17e124c7e76b918c53cb351a28fc11ef2d32e34fd87f422ea854e364a68efc69"}},{"ruleId":"D38","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":"af278af92e1c4f264e014f8a5fadac78d3e214fb372874a74ef5a0a37c738abb"}},{"ruleId":"D38","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":"0b68f1a0f2fcbf76fb029e5fb1d6e69660f66922d2af7aa4c1aece8f7a9064a8"}},{"ruleId":"D38","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":"f05b249bd4dff2a84e0b48769d66f9fbabc3c506d93b104958fbc266ff97cfb7"}},{"ruleId":"D38","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":"347f57899654a7b47f3c3d6f08e983639122efe96a38efc89db2cf7ead8a6114"}},{"ruleId":"D38","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":"280a333ccf9a6d7f456741f2a9dabb73e19b4d9d14b0421a1f3a4ec5e00310a4"}},{"ruleId":"D38","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":"dbf300f1e63dc76065fa71dafe56932419b31ea64149332cd39520c05adb1bf1"}},{"ruleId":"D38","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":"1f0fca2e34fe738a7e96bedb46ae7ba2bc0174df3766bf94b1f3840fc7216c0f"}},{"ruleId":"D38","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":"99881b194c92aacf5d7c789a8fa04a89cc74436cdb560e7f10169b9ec430ab12"}},{"ruleId":"D38","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":"57accc455e0297913d4a0aa201ea4e29b08d3513edce9b577e0287a498bc4bf4"}},{"ruleId":"D38","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":"0c0f95b68f3ee070d557ff7bd08505064a612ca77adad05c6b11033629b932ca"}},{"ruleId":"D38","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":"84a2e4b311f9d86bc3e6935b291d8e1f743fa3fe771162bb8d1358960f9c970d"}},{"ruleId":"D38","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":"27b161f5588f75b56e0427677f1fad5a5485d0e0aaeeb7d28ba960151bc32303"}},{"ruleId":"D38","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":"5bc993645fbf084cb8bc40fba505db220b6cffe2289f04ed9f32b3ef2bba3992"}},{"ruleId":"D38","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":"95bef02959c5a675ca66d7d39977dad7ad33ba269aa01ed0093884ce185ac458"}},{"ruleId":"D38","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":"1243b0d10da3113ffabe19f877d3c2665e45e68fd03c7f90e6e25d5716ef5acb"}},{"ruleId":"D38","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":"84fbda0a869730c2b4356cc22aaae419c4a704621b5c1c9315d39478df0cefa6"}},{"ruleId":"D38","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":"03f734ce8d76d9b2aaf2626e00032309030e3ffff39f6c795679ef64f43757a3"}},{"ruleId":"D38","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":"8588feaafba89e07b551c2531e35e17e9334a15ad1bb01a72125eef455087383"}},{"ruleId":"D38","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":"b0552577375079c6f9f8d4e67277ef80538f689df9667afb00793387d1d11fd2"}},{"ruleId":"D38","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":"9cc97b604f6f8548819a4da2c2af7a6ffa3323d0283202b30229511dac894f5b"}},{"ruleId":"D38","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":"38d722780a11a79b1bf622f6c09d527673c5953ae2492fbccddfdcb2cbbd4374"}},{"ruleId":"D38","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":"359f428ec8a3e8fbf7643a103f0a3596a7b8f7b0ff31df82a73c78a99e35fb24"}},{"ruleId":"D38","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":"36af9ebcb273ac68f8664750553283a6d18ffa87bae30782832a6d6bdabcd7e6"}},{"ruleId":"D38","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":"8ee6c4a0f4cbf9e072f8ee8fdaec7cc4ad611cab6089e32abe25911c10b76573"}},{"ruleId":"D38","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":"3c090d4f12af5892c5d7cce044b09891feb57b0c20f5400debdff8a2b29ba1ef"}},{"ruleId":"D38","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":"62cd26db091a372c6c025ccde805b0cf981f62d27cda4d186d19ca59371214e3"}},{"ruleId":"D38","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":"10b4ceabb4284792d7edfe2c57063e7da0e10296ec270d4d406378a5738e407c"}},{"ruleId":"D38","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":"43f5cff0155cc8ae40a93a54e439dc1b4e7608ea6d2cb5f970b990d5f9ef3a84"}},{"ruleId":"D38","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":"08b534ec01d9f185d4e75e1eb909e4bbcd6d6aa52bf1848ca20025939c2d63e8"}},{"ruleId":"D42","level":"note","message":{"text":"No runtime threat detection: No runtime threat-detection engine (Tetragon TracingPolicy / Falco) is committed. These observe process, file and network activity in-kernel and can alert or kill on malicious behaviour a static scan cannot catch."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aade9827a37dfc7ee064f80a997f47b5d11e31bc09704e26b9252bef00aa0c58"}},{"ruleId":"D42","level":"note","message":{"text":"No admission-control policy: No policy-enforcement gate (Kyverno / OPA Gatekeeper / PodSecurity admission) is committed. Admission control keeps workloads that violate your security baseline from ever reaching the cluster."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57f2e92ed1519af6e21f44cce82a94119700b7d516006ea2955d969d5328b76b"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":190,"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."]}]}