{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"adapter.createSupabaseStorage (cyclomatic 93): adapter.createSupabaseStorage has cyclomatic complexity 93 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb56497a19d458d9eb5eb52eaf0cd1a05b6e974c9bece5f971eb1cb3b34a422"}},{"ruleId":"D1","level":"warning","message":{"text":"run_v4_policy_repair.runV4PolicyRepairPipeline (cyclomatic 86): run_v4_policy_repair.runV4PolicyRepairPipeline has cyclomatic complexity 86 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 29 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f649da4b8e4d5dfd3034bff2213a12bb7b0247248e54c21d818da18ad7aad7"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_annotations.validateAnnotations (cyclomatic 83): validate_annotations.validateAnnotations has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_annotations.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c3dd617c834ce52dc003e0ba1064757ab8f2d0110158009f290454c92d1b7a"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment.main (cyclomatic 75): run_experiment.main has cyclomatic complexity 75 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 32 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"31098e2a43983ae15bd31cc142d40e34e8363039a3d27302a730110edc05dd3a"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionAwareRetriever.retrieve (cyclomatic 74): VersionAwareRetriever.retrieve has cyclomatic complexity 74 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8636f299103c23853cb478ffdea20a1da63343ecdb7b34a7cf99b1a6d65726a6"}},{"ruleId":"D1","level":"warning","message":{"text":"build_oracle_diagnosis_report.buildOracleDiagnosisReport (cyclomatic 52): build_oracle_diagnosis_report.buildOracleDiagnosisReport has cyclomatic complexity 52 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 21 belong to 14 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f2b8124542f9505b481976f8a3c12ae95a057471f6c07f5f018c05f5892ff1"}},{"ruleId":"D1","level":"warning","message":{"text":"build_v4_candidate_pairs.main (cyclomatic 47): build_v4_candidate_pairs.main has cyclomatic complexity 47 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 27 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b79cc9300cdbb7bb0fc53386b88afbeec8a8ce5cb65e4eed708edd1e768134f"}},{"ruleId":"D1","level":"warning","message":{"text":"build_splits.buildSplits (cyclomatic 45): build_splits.buildSplits has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (build_splits.buildSplits::getTopicForQuery) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d775ebec2d7b5dd60fb9aac1cd1844e5332ec71e5ed115ac23d7b3c3ce52d148"}},{"ruleId":"D1","level":"warning","message":{"text":"serverHandlers.chatHandler (cyclomatic 44): serverHandlers.chatHandler has cyclomatic complexity 44 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f06648e75103d175adfc918bf9c165317152eb6f1c94fbf737f6c41e039828"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_recency_oracle.compareRecencyAndOracle (cyclomatic 43): compare_recency_oracle.compareRecencyAndOracle has cyclomatic complexity 43 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e72dc9a28260ebc7101cc57e349e80ea3411a8c0c7ba517fb306af66c37f9eb"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_r2_12_confirmation.validateR212ConfirmationLedger (cyclomatic 39): validate_r2_12_confirmation.validateR212ConfirmationLedger has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aa6770ebe846758468e75235b80102391b8fd87f6a8e087df1e6b44b49fe17"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_r2_14_confirmation.validateR214ConfirmationLedger (cyclomatic 39): validate_r2_14_confirmation.validateR214ConfirmationLedger has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"03900ad740a14b8dea48104a92d89f2cecd8a03239e9fe90e2628cd4522fabf9"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_r2_16_confirmation.validateR216ConfirmationLedger (cyclomatic 39): validate_r2_16_confirmation.validateR216ConfirmationLedger has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9898f3d3e3b15fa968488c6aa71578696b935ca78e362e754e8082201553ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_r2_20_confirmation.validateR220ConfirmationLedger (cyclomatic 39): validate_r2_20_confirmation.validateR220ConfirmationLedger has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12936b13f4a34db24725289924341e175a2eb5c06026b07e61801ae1ab82c73"}},{"ruleId":"D1","level":"warning","message":{"text":"import_and_adjudicate_answer_annotations.main (cyclomatic 37): import_and_adjudicate_answer_annotations.main has cyclomatic complexity 37 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9bdfbabe2c32ff3f47f610d42591e02e4324200b6f5947f5903658175665dd"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_v4_candidate_coverage.performAudit (cyclomatic 37): audit_v4_candidate_coverage.performAudit has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 167, 123, 155, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd259a826982ce8973f0a3dee3979b7f1887cf366748c684255400f9cd4067"}},{"ruleId":"D1","level":"warning","message":{"text":"stage_attribution.attributeFailure (cyclomatic 36): stage_attribution.attributeFailure has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/diagnostics/stage_attribution.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7935ba4f724114a16b1b9b70a1661d4e0b2c9d45630b194460a97d0b03534abf"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_v6_fresh_retrieval.main (cyclomatic 34): evaluate_v6_fresh_retrieval.main has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd772f4a738e5e65db48855f6a960d2ce4d93a57781aa182eabe569e36a0a94c"}},{"ruleId":"D1","level":"warning","message":{"text":"db_tools.updateUserProfileTool (cyclomatic 33): db_tools.updateUserProfileTool has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb699f7ca077d57d0e62410370af0ccf9de2c2c9fa9d7943a621f660a8b0b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"run_oracle_counterfactuals.runOracleCounterfactuals (cyclomatic 32): run_oracle_counterfactuals.runOracleCounterfactuals has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fe3717af255f5bc6d68a1c9f56e76ea9f040d9aa2016b36e2bef33a3c9003c"}},{"ruleId":"D1","level":"warning","message":{"text":"ragDocuments.createRagApiRouter (cyclomatic 32): ragDocuments.createRagApiRouter has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 490, sendDocumentPreview, sendDocumentFile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dd06ac812fbd258dd05abdd0bcd37842950d0b6c4e758f467d817e54fd6f44"}},{"ruleId":"D1","level":"warning","message":{"text":"build_paper_tables.main (cyclomatic 30): build_paper_tables.main has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0478109e6a4b5f0f3c8d581520823fec3b327bde02dd450bbdbce72fdb1b543b"}},{"ruleId":"D1","level":"warning","message":{"text":"classify_relations.main (cyclomatic 30): classify_relations.main has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/classify_relations.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4590bc46ed09c6a27b0677dd74415081f19df7b8d6484557580552c1c5e629"}},{"ruleId":"D1","level":"warning","message":{"text":"agentRuntime.runAgentStream (cyclomatic 30): agentRuntime.runAgentStream has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 799, 848, 890). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36ac7eb3d1fe8ab880169ceec3a04a5b18786f7fff3245634974228dd899bc6"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledgeGraph.createKnowledgeGraphRouter (cyclomatic 30): knowledgeGraph.createKnowledgeGraphRouter has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 664, a function literal at line 723, a function literal at line 767, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f47d65968a0ce32d5e0bd6491d0de1531efd49ce3aadd315c2f83e3a85b371"}},{"ruleId":"D1","level":"warning","message":{"text":"imageStorage.saveIncomingImageToWorkspace (cyclomatic 30): imageStorage.saveIncomingImageToWorkspace has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/imageStorage.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d46fe341fbc1f0c5ce7b611e0249a2bc489f39ea56b6c09e6f5c6e0927e03"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze_v6_relation_review_agreement.main (cyclomatic 30): analyze_v6_relation_review_agreement.main has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/analyze_v6_relation_review_agreement.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91cd4f850bd23a3b9aa5b406bcc7328ccb8a572e277ae0b504fb7f23730093e"}},{"ruleId":"D1","level":"warning","message":{"text":"run_statistics.main (cyclomatic 29): run_statistics.main has cyclomatic complexity 29 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_statistics.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b671c2d476bbaf2810c45b19758e13d943336e5d447c3cca4067ddfc10e27ec"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_r2_11_development.validateR211DevelopmentLedger (cyclomatic 29): validate_r2_11_development.validateR211DevelopmentLedger has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6474ef6bb8c11112ec666331156acc50bef17c39a065a3b838f59b932e94dd80"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_corpus.auditCorpus (cyclomatic 28): audit_corpus.auditCorpus has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/audit_corpus.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c94f520c44adef2e6f8e74b20f82e696358274767d036b3151f3d2829cc3467"}},{"ruleId":"D1","level":"warning","message":{"text":"build_chunks.buildChunksFromMarkdown (cyclomatic 26): build_chunks.buildChunksFromMarkdown has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5dc94ec73a4b798f09059bbc1ec3ad7ea82d540a8cdb101593a787a93c409"}},{"ruleId":"D1","level":"warning","message":{"text":"compatibility_expansion.expandCompatibleChunks (cyclomatic 25): compatibility_expansion.expandCompatibleChunks has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38b43fd92f7576b04bdf225839ba9ebebd6c16aaaca376cb8900af06f0de74e"}},{"ruleId":"D1","level":"warning","message":{"text":"classification_metrics.computeClassificationMetrics (cyclomatic 25): classification_metrics.computeClassificationMetrics has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/classification_metrics.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c171f580d74d93c5fa622fb35b96ca3c51030e11a1dca11c2fc0951682a451"}},{"ruleId":"D1","level":"warning","message":{"text":"run_r2_action_detector_development.classify (cyclomatic 25): run_r2_action_detector_development.classify has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af33117cdce6b79f74c8fc7075414bfeaa6ee11f42e4f5279bff8c060846896"}},{"ruleId":"D1","level":"warning","message":{"text":"db_tools.logDietWithClient (cyclomatic 24): db_tools.logDietWithClient has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"019c322da071af080e2dd9c71d9462cb7d6bb183642f2bc012dfc767e7f54442"}},{"ruleId":"D1","level":"warning","message":{"text":"build_corpus.getLegacyChunkIds (cyclomatic 23): build_corpus.getLegacyChunkIds has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/build_corpus.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8229a3af04c7398b4ad4196ed1b3836bfc73eeebfd66c9cd4a3edf5d84a1834"}},{"ruleId":"D1","level":"warning","message":{"text":"allocate_v6_query_slots.main (cyclomatic 23): allocate_v6_query_slots.main has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/allocate_v6_query_slots.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2af68d3485ef264b48d5dab51b5593ebe1133a9c31862dc20138807d1279028"}},{"ruleId":"D1","level":"warning","message":{"text":"AnswerMetricsEvaluator.computeAutomaticCitationProxyMetrics (cyclomatic 22): AnswerMetricsEvaluator.computeAutomaticCitationProxyMetrics has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/answer_metrics.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"043d5dd81041358b632cf89a310ac2658613dfc299cd03c6f84255ee37cbf008"}},{"ruleId":"D1","level":"warning","message":{"text":"run_v5_relation_detector_development.classify (cyclomatic 22): run_v5_relation_detector_development.classify has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f7195101c62933436bbca30e902e3792d17b6971fec2974e1231227a2d0a41"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_v6_relation_candidates.main (cyclomatic 22): audit_v6_relation_candidates.main has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_relation_candidates.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d3a06ebc58caee3016f28d6b6e19961125036cadd27fd21019e0592b7874a"}},{"ruleId":"D1","level":"warning","message":{"text":"healthy_diet_api_server::api::diet::yolo_handler (cyclomatic 22): healthy_diet_api_server::api::diet::yolo_handler has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad6a03cb97a1e35c120e81263f2b59611524235bf781e91ba50029730fd7deb"}},{"ruleId":"D1","level":"warning","message":{"text":"fetch_web.isPrivateOrLocalHostname (cyclomatic 21): fetch_web.isPrivateOrLocalHostname has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/fetch_web.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ee9cac151bf06e2f22f57b6841e2da8c30152e2dce6b03207589b0f374b33"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_oracle_retrieval.traceOracleRetrieval::traceSplitWithFixedPool (cyclomatic 21): trace_oracle_retrieval.traceOracleRetrieval::traceSplitWithFixedPool has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1998536b6cf3681b9942e9734903ef8a56b89ba9a68a2f334b5e1c53cc139cf6"}},{"ruleId":"D1","level":"warning","message":{"text":"build_splits.buildSplits::getTopicForQuery (cyclomatic 21): build_splits.buildSplits::getTopicForQuery has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (build_splits.buildSplits) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fa99c68713298c93da9fca2ea95b5a9bb91c66494a06ec10943fdf3e2ec157"}},{"ruleId":"D1","level":"warning","message":{"text":"freeze_v6_chunk_corpus_and_gold.main (cyclomatic 21): freeze_v6_chunk_corpus_and_gold.main has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/freeze_v6_chunk_corpus_and_gold.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6134e2620e93c3e7c1633f902e7e61b81cf3b03a9d0a1905913452d557dd5442"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf_to_clean_markdown.clean_markdown_headers_footers_dots (cyclomatic 21): pdf_to_clean_markdown.clean_markdown_headers_footers_dots has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag_clean/pdf_to_clean_markdown.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396d1340a5d63ada82aa532a28f2adaa2ba2ab08ddd0b4b90b2afb9926bb758"}},{"ruleId":"D1","level":"warning","message":{"text":"adapter.mapDocumentRow (cyclomatic 20): adapter.mapDocumentRow has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"407505efb96d133503129cee79b53a6244db6facbffa8c24f454f876e6827fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"RelationGraph.resolvePolicyState (cyclomatic 20): RelationGraph.resolvePolicyState has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d433056caf8eec116ecca94ecd3022c70ae5c51f6d845525d3546c0d0c525afe"}},{"ruleId":"D1","level":"warning","message":{"text":"ragDocuments.mapDocumentRow (cyclomatic 20): ragDocuments.mapDocumentRow has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b23f5862a0e3e6c0b6788061e1440ba3abeb51683fbdd74c009ba62fff9dab"}},{"ruleId":"D1","level":"warning","message":{"text":"audit_v6_query_contract_drafts.main (cyclomatic 20): audit_v6_query_contract_drafts.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_query_contract_drafts.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c165ccda4b00b1088bffb16c93a4154a1d1d96297d7d41c4deb9c3c4179480a"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve_v6_page_gold_to_chunks.resolve (cyclomatic 20): resolve_v6_page_gold_to_chunks.resolve has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/resolve_v6_page_gold_to_chunks.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca4149c3f0d464e6ceb47ddd825c997c84f17a4c9fd07cdfec3124c9c6b59a"}},{"ruleId":"D1","level":"warning","message":{"text":"db_tools.getChatHistoryWithClient (cyclomatic 19): db_tools.getChatHistoryWithClient has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc0969209d9d749132a98eae46f31e4caaab6912d92051120a2deca4e037219"}},{"ruleId":"D1","level":"warning","message":{"text":"retrieval_metrics.calculateQueryMetrics (cyclomatic 19): retrieval_metrics.calculateQueryMetrics has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/retrieval_metrics.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"883834d57bc23b0d1fe077fad289217f74ae77310a399dd7d28bc8745784825d"}},{"ruleId":"D1","level":"warning","message":{"text":"build_v6_chunk_corpus.main (cyclomatic 19): build_v6_chunk_corpus.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_chunk_corpus.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac93cba102abe08ed7e0c52bc8c839fbf99e999147641df9e59167a450fb0929"}},{"ruleId":"D1","level":"warning","message":{"text":"run_r2_action_detector_validation.classify (cyclomatic 18): run_r2_action_detector_validation.classify has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad0c700e6f67db8d01165897b0d1547442d4c7e84a7eb423aae59e6cb815eae"}},{"ruleId":"D1","level":"warning","message":{"text":"build_r2_22_human_review_docx.add_instruction_sections (cyclomatic 18): build_r2_22_human_review_docx.add_instruction_sections has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_22_human_review_docx.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e03a0e87a142f4cb436541ffcfc8694b5afc9e9598536c64842ccb9433124"}},{"ruleId":"D1","level":"warning","message":{"text":"run_v6r_repair_diagnostic.evaluate_run (cyclomatic 18): run_v6r_repair_diagnostic.evaluate_run has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/run_v6r_repair_diagnostic.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e9070971815fc3fad304b60be61f0efd4bbe1a53388d556fede403192dfe4d"}},{"ruleId":"D1","level":"warning","message":{"text":"RelationEnrichedCandidateGenerator.candidates (cyclomatic 18): RelationEnrichedCandidateGenerator.candidates has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/v6r_retrieval_core.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c432bc211d9b32a98b1c97158e70089a8e961c9c260e6bb4a4e5c4c712b027c9"}},{"ruleId":"D1","level":"warning","message":{"text":"HeuristicRetriever.retrieve (cyclomatic 17): HeuristicRetriever.retrieve has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/heuristic.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d61c2fd5b62c817bcdc9f7bbcc7beb6057a89a0888f01757d6042c49d3509c"}},{"ruleId":"D1","level":"warning","message":{"text":"tune_recency_lambda.runTuning (cyclomatic 17): tune_recency_lambda.runTuning has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8425c1c34ac2d5cd5bc32edba74b33f1071b5830416148b5065b9706fa8c0a05"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiRerankClient.request (cyclomatic 17): GeminiRerankClient.request has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7657329668e938b1169843475d71e1d0d6e464d022888d3a2882a2eed5a55ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"ragDocuments.parseMultipartUpload (cyclomatic 17): ragDocuments.parseMultipartUpload has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3484dd60d3fdafa43a90875afb1fd605ef76d7b29e85b3ce6429aa4860180a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_v7_pilot.main (cyclomatic 17): evaluate_v7_pilot.main has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"05246bcddd484078e2bfff9940d3551cc199d85fc1d114141b4d1baed61d30c2"}},{"ruleId":"D1","level":"warning","message":{"text":"file_tools.buildKnowledgeCorpus (cyclomatic 16): file_tools.buildKnowledgeCorpus has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b36940b4038decbf11820eed8b0fbc3cc6713a8a298071ac16e48c89a89803"}},{"ruleId":"D1","level":"warning","message":{"text":"RelationEnrichedCandidateGenerator.candidates (cyclomatic 16): RelationEnrichedCandidateGenerator.candidates has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d164eb40a101f9ade161b355447e869753b0f77078fb579a5e44b5fc3f99fbf7"}},{"ruleId":"D1","level":"warning","message":{"text":"select_frozen_v3_runs.selectFrozenV3Runs (cyclomatic 16): select_frozen_v3_runs.selectFrozenV3Runs has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/select_frozen_v3_runs.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac61dd16b934cc47bf40b58c77dff7769d727c75ed8028697cf7a599eb649c1"}},{"ruleId":"D1","level":"warning","message":{"text":"RelationGraph.loadGraph (cyclomatic 16): RelationGraph.loadGraph has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded3135c042d7ac38c7a637b3f588d3728e05c785aa337bb84efea4069906032"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMDetector.classify (cyclomatic 16): LLMDetector.classify has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2acec3c3af691492e671567eddb3043dcea6f91afc30f29625c07f159a8df14"}},{"ruleId":"D1","level":"warning","message":{"text":"agentRuntime.callModel (cyclomatic 16): agentRuntime.callModel has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc8b967678d9b3fd9fefd42a804f285393df7ad6476ce5b02727944f57a3c1"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledgeGraph.extractDocumentGraph (cyclomatic 16): knowledgeGraph.extractDocumentGraph has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28b98cbecb1448007616026f80fd4292bdd0645e12c67812b2cdc3cde030905"}},{"ruleId":"D1","level":"warning","message":{"text":"extract_v6_antigravity_response.main (cyclomatic 16): extract_v6_antigravity_response.main has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/extract_v6_antigravity_response.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c39f9a39286b40a48210a1fc7daeb766da1067a291351ae1871ef37fc0468df"}},{"ruleId":"D1","level":"warning","message":{"text":"run_v6_pair_boost_sensitivity_on_prior_devval.evaluate (cyclomatic 16): run_v6_pair_boost_sensitivity_on_prior_devval.evaluate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/run_v6_pair_boost_sensitivity_on_prior_devval.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b93f52c7a6fb7defb35b93a95ed64ec8088b953560f64118be1f54a5f39d05"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_annotations.validateAnnotations (cognitive 188): validate_annotations.validateAnnotations has cognitive complexity 188 (threshold 15). Drivers by points: if/else 40 (105 pts), loops 24 (55 pts), error handling 6 (16 pts), boolean chains 12 (nesting depth added 106). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_annotations.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b89334c51887859874b983ade916749dfc15da048e043feea0a91d932faaa88"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionAwareRetriever.retrieve (cognitive 120): VersionAwareRetriever.retrieve has cognitive complexity 120 (threshold 15). Drivers by points: if/else 27 (64 pts), ternaries 10 (22 pts), boolean chains 21, loops 6 (13 pts) (nesting depth added 56). Of this number, 117 points are the body\u0027s own statements and 3 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"53020cbc0afbd2eae9fe02e4401ec4ce31d2a1d50ebdc701c7d36e864d1cad38"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment.main (cognitive 93): run_experiment.main has cognitive complexity 93 (threshold 15). Drivers by points: if/else 26 (36 pts), ternaries 13 (28 pts), boolean chains 15, error handling 7, loops 5 (7 pts) (nesting depth added 27). Of this number, 70 points are the body\u0027s own statements and 23 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af3f064789566ff1d1a6d49d15cbba7c53930708e23e324584b052e9784d61f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v4_policy_repair.runV4PolicyRepairPipeline (cognitive 92): run_v4_policy_repair.runV4PolicyRepairPipeline has cognitive complexity 92 (threshold 15). Drivers by points: if/else 17 (43 pts), loops 21 (35 pts), ternaries 14 (29 pts), boolean chains 27 (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitMetrics, run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitSubset) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"73595cb1ed0c3cb8de0232400c184891039dc1ef90364f113c8e911740f1913a"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.createSupabaseStorage (cognitive 91): adapter.createSupabaseStorage has cognitive complexity 91 (threshold 15). Drivers by points: if/else 72, ternaries 13, boolean chains 6. Of this number, 86 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ea17b600e570194eb22d53c1c27bd9c5a7678d1814a43dbc80e529385712e9"}},{"ruleId":"D2","level":"warning","message":{"text":"build_splits.buildSplits (cognitive 87): build_splits.buildSplits has cognitive complexity 87 (threshold 15). Drivers by points: ternaries 18 (58 pts), boolean chains 24, if/else 19 (20 pts), loops 9 (12 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (build_splits.buildSplits::getTopicForQuery) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0fb43e39d0c1a571a1104f6dbb0d65ce179e4135f763fdcb6d8dcb5fb29c23"}},{"ruleId":"D2","level":"warning","message":{"text":"compatibility_expansion.expandCompatibleChunks (cognitive 71): compatibility_expansion.expandCompatibleChunks has cognitive complexity 71 (threshold 15). Drivers by points: if/else 16 (54 pts), ternaries 3 (9 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21dbd125ff68e3e8bf7dcb4dd442c13dd603ad3318802bcc707b32cd0d9a8bc"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_r2_12_confirmation.validateR212ConfirmationLedger (cognitive 68): validate_r2_12_confirmation.validateR212ConfirmationLedger has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (43 pts), boolean chains 11, loops 6 (11 pts), ternaries 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d4f610743ef9688de08e98c24494435cbd4c526b52a45714bcffb8bdc7ff0c"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_r2_14_confirmation.validateR214ConfirmationLedger (cognitive 68): validate_r2_14_confirmation.validateR214ConfirmationLedger has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (43 pts), boolean chains 11, loops 6 (11 pts), ternaries 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"454a30730fe242ba4174687004998509cead1d96ecd818b9c18d6658d9468163"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_r2_16_confirmation.validateR216ConfirmationLedger (cognitive 68): validate_r2_16_confirmation.validateR216ConfirmationLedger has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (43 pts), boolean chains 11, loops 6 (11 pts), ternaries 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"603668c2bdd268a651585a94fe9e361632279a0a3c5d9d28090d56d3bdb7b85f"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_r2_20_confirmation.validateR220ConfirmationLedger (cognitive 68): validate_r2_20_confirmation.validateR220ConfirmationLedger has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (43 pts), boolean chains 11, loops 6 (11 pts), ternaries 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd50b20eab649a77f3f461d9b7220974956718dfa1cdad1ba66d3087d6e52494"}},{"ruleId":"D2","level":"warning","message":{"text":"serverHandlers.chatHandler (cognitive 58): serverHandlers.chatHandler has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (23 pts), ternaries 10 (16 pts), boolean chains 12, error handling 5 (7 pts) (nesting depth added 14). Of this number, 56 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdb21097b99e8bb1901548bbacf6d0e44b45f6e8b2d95e467575b38a2c2eb98"}},{"ruleId":"D2","level":"warning","message":{"text":"agentRuntime.runAgentStream (cognitive 57): agentRuntime.runAgentStream has cognitive complexity 57 (threshold 15). Drivers by points: if/else 22 (45 pts), boolean chains 9, error handling 1, loops 1, ternaries 1 (nesting depth added 23). None of this is in the body itself: all 57 points belong to 3 function literals inside it that branch (lines 799, 848, 890). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d4b9cd21400bab609c8772b3e3131a69a2599b16c82eb1292bffa19dbd957"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_recency_oracle.compareRecencyAndOracle (cognitive 54): compare_recency_oracle.compareRecencyAndOracle has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 18, ternaries 5 (9 pts), loops 4 (5 pts) (nesting depth added 14). Of this number, 46 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7deef7997cf9705dc208fc5dbd3aa2c017be67e99f79b4ab85c24443d47e4ee"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_r2_11_development.validateR211DevelopmentLedger (cognitive 54): validate_r2_11_development.validateR211DevelopmentLedger has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (38 pts), loops 5 (8 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6552db1639cca0dd6311953f240a26513f6079ce3518e9d6b64d547d50fda9be"}},{"ruleId":"D2","level":"warning","message":{"text":"import_and_adjudicate_answer_annotations.main (cognitive 53): import_and_adjudicate_answer_annotations.main has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (31 pts), loops 6 (8 pts), ternaries 6 (8 pts), boolean chains 6 (nesting depth added 16). Of this number, 48 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"835ea2115c45578b0caf0f43490893cea6d54df388759769a2a1c2728c8636c9"}},{"ruleId":"D2","level":"warning","message":{"text":"build_oracle_diagnosis_report.buildOracleDiagnosisReport (cognitive 52): build_oracle_diagnosis_report.buildOracleDiagnosisReport has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 17, boolean chains 15, if/else 7 (12 pts), loops 7 (8 pts) (nesting depth added 6). Of this number, 33 points are the body\u0027s own statements and 19 belong to 14 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e05256224df50c1509c0384764b7b9167a573eee3f0ea7bf7e1b3dec651398"}},{"ruleId":"D2","level":"warning","message":{"text":"run_oracle_counterfactuals.runOracleCounterfactuals (cognitive 52): run_oracle_counterfactuals.runOracleCounterfactuals has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 6 (10 pts), boolean chains 9, ternaries 3 (7 pts) (nesting depth added 23). Of this number, 47 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a680ec493b574ae716b328908724d30458a29d7e9e4eb72c01c612d5ef16ee7d"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_corpus.auditCorpus (cognitive 52): audit_corpus.auditCorpus has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 7 (11 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/audit_corpus.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82b42a2e86a7f741ebeefed66330e0e8e3bd13291d1d1489880f44e39220978"}},{"ruleId":"D2","level":"warning","message":{"text":"build_v4_candidate_pairs.main (cognitive 50): build_v4_candidate_pairs.main has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 7 (13 pts), loops 8 (10 pts), boolean chains 7, match/switch 1 (nesting depth added 13). Of this number, 31 points are the body\u0027s own statements and 19 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5d1dad77f68378c5a6f79f0f95f81e58fe64656883d123bc3feef5b83b74c1"}},{"ruleId":"D2","level":"warning","message":{"text":"run_statistics.main (cognitive 46): run_statistics.main has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 13 (26 pts), if/else 8 (13 pts), loops 4, boolean chains 2, error handling 1 (nesting depth added 18). Of this number, 20 points are the body\u0027s own statements and 26 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_statistics.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"474d00ed2a3cef9cb765216f48693d5eabeaa1284f69787718ebdc52d0fdf490"}},{"ruleId":"D2","level":"warning","message":{"text":"classification_metrics.computeClassificationMetrics (cognitive 43): classification_metrics.computeClassificationMetrics has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 7 (10 pts), ternaries 4 (7 pts), boolean chains 6 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/classification_metrics.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dbb4c59f4bcf9fa6efb0959619953262a33a2c3511d9faa2e78aa6c95044da"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledgeGraph.extractDocumentGraph (cognitive 42): knowledgeGraph.extractDocumentGraph has cognitive complexity 42 (threshold 15). Drivers by points: loops 10 (23 pts), if/else 4 (16 pts), ternaries 1 (3 pts) (nesting depth added 27). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"704bf2311f7dd28ade5a303d15648561b95cc1a2a199c59241efc7abaaf12fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_v6_relation_review_agreement.main (cognitive 40): analyze_v6_relation_review_agreement.main has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 5 (7 pts), boolean chains 6, ternaries 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/analyze_v6_relation_review_agreement.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5f22a297f70cfa12a0d553e855d497c9058823052e8b0dec9bda0a21fdda92"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_v4_candidate_coverage.performAudit (cognitive 39): audit_v4_candidate_coverage.performAudit has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 21, if/else 11 (14 pts), ternaries 4 (nesting depth added 3). Most of this is not in the body itself: 4 of the 39 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 167, 123, 155, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8966e8508d1cc7e0edeaf38cccc43853448e441c09ebde680bff3ae51edbd6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_v6_fresh_retrieval.main (cognitive 38): evaluate_v6_fresh_retrieval.main has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 8, ternaries 5 (7 pts), loops 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f69779e22f6f4ba4d1ee633b008e03a3d3ffef2f96c20b817f83327b4e2ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"freeze_v6_chunk_corpus_and_gold.main (cognitive 38): freeze_v6_chunk_corpus_and_gold.main has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 6 (12 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/freeze_v6_chunk_corpus_and_gold.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d41367a6f4998ef89b945912a6631aacd33c2d3ff02f7c0624b96181dfc0e4"}},{"ruleId":"D2","level":"warning","message":{"text":"build_chunks.buildChunksFromMarkdown (cognitive 37): build_chunks.buildChunksFromMarkdown has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"615b5fc0b53c6e05adbfd7c23b6835e16ad9106426ede9bb600c3aedd78d9275"}},{"ruleId":"D2","level":"warning","message":{"text":"imageStorage.saveIncomingImageToWorkspace (cognitive 37): imageStorage.saveIncomingImageToWorkspace has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 5 (10 pts), boolean chains 9 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/imageStorage.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e23256542bf8b05f6ad53cd0afb33f1a7a92d7bef3beea85d72a288fbd81c4d"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf_to_clean_markdown.clean_markdown_headers_footers_dots (cognitive 37): pdf_to_clean_markdown.clean_markdown_headers_footers_dots has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 5 (10 pts), boolean chains 7 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag_clean/pdf_to_clean_markdown.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3b6f7d7c4372b670c3efef6f9b77d4467e9cd2737ee4e54d6af9b4a80e8007"}},{"ruleId":"D2","level":"warning","message":{"text":"stage_attribution.attributeFailure (cognitive 36): stage_attribution.attributeFailure has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 12, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/diagnostics/stage_attribution.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7dd8b107523ffa777f2b04fabc36e2282d0b2c27ad1908db5e4cf88888b451"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v5_relation_detector_development.classify (cognitive 36): run_v5_relation_detector_development.classify has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 6 (13 pts), boolean chains 5, error handling 2 (4 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3488bac57ecb1358950bfef7580e38e7b87adcb631b1d39314caa62030033b40"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledgeGraph.createKnowledgeGraphRouter (cognitive 36): knowledgeGraph.createKnowledgeGraphRouter has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 8, loops 3 (6 pts), boolean chains 4, ternaries 2 (nesting depth added 7). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 664, a function literal at line 723, a function literal at line 767, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e16f53d31e3b0db8653dcc105cb1e48ddb14e0a44bdc164f644ec4cff99cb14"}},{"ruleId":"D2","level":"warning","message":{"text":"allocate_v6_query_slots.main (cognitive 36): allocate_v6_query_slots.main has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 9 (13 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/allocate_v6_query_slots.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"043f416d01836eb8f37e78f6ada9313d06b1f57fe7dfc643f05f3411bb6e6c10"}},{"ruleId":"D2","level":"warning","message":{"text":"RelationGraph.resolvePolicyState (cognitive 33): RelationGraph.resolvePolicyState has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 7, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ebbc9d452ffdcbe543a41bef987202150e4b4f57f84ba610f151005f4da1b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ragDocuments.createRagApiRouter (cognitive 33): ragDocuments.createRagApiRouter has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16, boolean chains 9, ternaries 3 (6 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 490, sendDocumentPreview, sendDocumentFile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69143a6c915c4803cdb2e498ddad34ffe61742cd42a7491255a2850b49d67ed"}},{"ruleId":"D2","level":"warning","message":{"text":"db_tools.updateUserProfileTool (cognitive 32): db_tools.updateUserProfileTool has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13, ternaries 8 (10 pts), boolean chains 8, error handling 1 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab2c59ab4230d6eff04aa527f8a95ad637f31b68c4d18507ba369923a73ede4"}},{"ruleId":"D2","level":"warning","message":{"text":"build_paper_tables.main (cognitive 32): build_paper_tables.main has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 16, loops 4 (6 pts), boolean chains 5, if/else 5 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcec2646763e4dd0c7d267310a62ea336771e3f6ccacb284f74a462038841a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiRerankClient.request (cognitive 32): GeminiRerankClient.request has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 3 (10 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0061d1311d201408526bfeb5dc8630912301481b56f39fc7f80fc35f3d14acba"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_v6_relation_candidates.main (cognitive 31): audit_v6_relation_candidates.main has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4, loops 2 (3 pts), ternaries 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_relation_candidates.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cadcc061234c0325ac61d513bbf690a06858f7e223740b3dda7a587e238d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"classify_relations.main (cognitive 30): classify_relations.main has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (9 pts), loops 7, error handling 1 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/classify_relations.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"51473b0adf76761443018020e076d9c603b65291d46c9663dea3cbe36da419dd"}},{"ruleId":"D2","level":"warning","message":{"text":"run_r2_action_detector_development.classify (cognitive 30): run_r2_action_detector_development.classify has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 4 (5 pts), error handling 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78399121db98b57b4e9c89195acc888a7268a3a3600344809e59207a2e92e513"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf_to_clean_markdown.convert_pdf_to_markdown (cognitive 30): pdf_to_clean_markdown.convert_pdf_to_markdown has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag_clean/pdf_to_clean_markdown.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5144bafddd3bf4c419d0deaa126e42f465a824d9936ab4ae8aa9b14450c0b82a"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_oracle_retrieval.traceOracleRetrieval::traceSplitWithFixedPool (cognitive 29): trace_oracle_retrieval.traceOracleRetrieval::traceSplitWithFixedPool has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, ternaries 2 (6 pts), if/else 2 (5 pts), loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf61ef152335d9ab7e44bdf92b144a0fb74b223776c6027bfa6626a1dbaaafe"}},{"ruleId":"D2","level":"warning","message":{"text":"healthy_diet_api_server::api::diet::yolo_handler (cognitive 29): healthy_diet_api_server::api::diet::yolo_handler has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa7257ae23916868bbbe91226992c6522ffc095691931ead7931d1a309e68f0"}},{"ruleId":"D2","level":"warning","message":{"text":"db_tools.getChatHistoryWithClient (cognitive 27): db_tools.getChatHistoryWithClient has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0076bc7a8837832d5093a86d74ef3b68b42b9c497b203ac3e698b6515b839"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch_web.isPrivateOrLocalHostname (cognitive 26): fetch_web.isPrivateOrLocalHostname has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 6 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/fetch_web.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa0fc24893563eceaa6b1f64bb306e10302f7e5f83e0230ce72786796ba30bf"}},{"ruleId":"D2","level":"warning","message":{"text":"file_tools.buildKnowledgeCorpus (cognitive 26): file_tools.buildKnowledgeCorpus has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 5 (9 pts), boolean chains 5 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a171418986be921d6dd7e5bc66b44d2c6506fabe3f31765293ca4073ec949b"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve_v6_page_gold_to_chunks.resolve (cognitive 26): resolve_v6_page_gold_to_chunks.resolve has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 4 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/resolve_v6_page_gold_to_chunks.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55416441f3633b6f6c366052209930601683d7cf9ca465feed6649566483cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"RelationEnrichedCandidateGenerator.candidates (cognitive 26): RelationEnrichedCandidateGenerator.candidates has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/v6r_retrieval_core.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9c2cc3bdc2a44c28883ffe8cfb0b12899bb40716c2b2bdacc1d4439ef6411e"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf_to_clean_markdown.generate_table_text_description (cognitive 26): pdf_to_clean_markdown.generate_table_text_description has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 3 (8 pts), loops 3 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag_clean/pdf_to_clean_markdown.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f33ec25fa7708b4b474f076c2b5d3cb61a88505b7a9ac025033f14049a1e77"}},{"ruleId":"D2","level":"warning","message":{"text":"build_v4_candidate_pairs.produceDuplicateConflictReport (cognitive 25): build_v4_candidate_pairs.produceDuplicateConflictReport has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4b35725cfee5023d91c6549ebffc7b608ad4c35d217ba70e30b641aee98084"}},{"ruleId":"D2","level":"warning","message":{"text":"run_r2_action_detector_validation.classify (cognitive 25): run_r2_action_detector_validation.classify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, ternaries 4 (5 pts), error handling 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bf31753a29b9984c140ed1885531fa3805b4a21908c6efc647631880e7e6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"build_v6_chunk_corpus.main (cognitive 25): build_v6_chunk_corpus.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 5 (6 pts), ternaries 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_chunk_corpus.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2d6f4494334d14d03ffaeb0e766ee7918aa5aba98b70107a8cb08fccf056ef"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v6_pair_boost_sensitivity_on_prior_devval.evaluate (cognitive 25): run_v6_pair_boost_sensitivity_on_prior_devval.evaluate has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (9 pts), ternaries 3 (9 pts), boolean chains 5, if/else 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/run_v6_pair_boost_sensitivity_on_prior_devval.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca92b81fced2edc5f27a64f588aafa377f3fefbbcc4463f2f3ae86db8995397"}},{"ruleId":"D2","level":"warning","message":{"text":"db_tools.logDietWithClient (cognitive 24): db_tools.logDietWithClient has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a776024bbcaedefc890ae19b5596ae37b0580c3bc74a10f87d1e80338473b8d6"}},{"ruleId":"D2","level":"warning","message":{"text":"build_corpus.buildCorpus (cognitive 24): build_corpus.buildCorpus has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 12). Of this number, 14 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/build_corpus.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d5c08a74b09f91879657163af231c8af44709daaadafa3057034c7492b46f6"}},{"ruleId":"D2","level":"warning","message":{"text":"AnswerMetricsEvaluator.computeAutomaticCitationProxyMetrics (cognitive 24): AnswerMetricsEvaluator.computeAutomaticCitationProxyMetrics has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (6 pts), ternaries 5, loops 3 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/answer_metrics.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c460eff128d00372b09321ffe16d3a24819967d469fc59bf6e872f6b98a256"}},{"ruleId":"D2","level":"warning","message":{"text":"HeuristicRetriever.retrieve (cognitive 24): HeuristicRetriever.retrieve has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/heuristic.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f61c3dc5e243d18eabd4f40fb305e399e17de68e72bea24348b496ca53c42c7"}},{"ruleId":"D2","level":"warning","message":{"text":"allocate_v6_query_slots.min_cost_flow (cognitive 24): allocate_v6_query_slots.min_cost_flow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 5 (10 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/allocate_v6_query_slots.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ba660ee8840e0ff1b29ebc1268d3165b961ba035308cad66a648986b8405d7"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v6r_repair_diagnostic.evaluate_run (cognitive 24): run_v6r_repair_diagnostic.evaluate_run has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 7 (8 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/run_v6r_repair_diagnostic.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2f92f48e0089047c091ba59c45a495aeebeb6780ea99774e8fde5b77f6b678"}},{"ruleId":"D2","level":"warning","message":{"text":"RelationEnrichedCandidateGenerator.candidates (cognitive 23): RelationEnrichedCandidateGenerator.candidates has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0595ea2ec486e1ab930367ccd2d34c3ba1033edd27004e3cf2084dd84efbf94"}},{"ruleId":"D2","level":"warning","message":{"text":"assign_topics.assignTopicsAndMetadata (cognitive 23): assign_topics.assignTopicsAndMetadata has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/assign_topics.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cbd046189adc177d0a300bc3dda84b6b4ec629d0900fa74e4451360aa4888a"}},{"ruleId":"D2","level":"warning","message":{"text":"DenseRetriever.initializeIndex (cognitive 23): DenseRetriever.initializeIndex has cognitive complexity 23 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 2 (5 pts), boolean chains 4 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/dense.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c4da732ff7aec353ea2c038c87b550465637cc72ab0d46e71cb8d6a61250eb"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_v6_query_contract_drafts.main (cognitive 23): audit_v6_query_contract_drafts.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_query_contract_drafts.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"570a3eb8826fff2fe0fbe998dbab52189a7389fd591fb22411b302c700656cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"build_policy_graph.main (cognitive 22): build_policy_graph.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3, boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_policy_graph.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"70713f9015956775b52d04ac7fdcd1bc21b30ac4653d3ec0895a85a9d7150c49"}},{"ruleId":"D2","level":"warning","message":{"text":"build_corpus.getLegacyChunkIds (cognitive 21): build_corpus.getLegacyChunkIds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/build_corpus.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5a3bbfc2248bb17f3b725d05595ee56bcc3a4b1c09e8ab658d6f0f2c3475b5"}},{"ruleId":"D2","level":"warning","message":{"text":"run_r2_6_query_conditioned_development.trainTree (cognitive 21): run_r2_6_query_conditioned_development.trainTree has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"df497cdcaee88b065fabd3dedf2395882aa964856bc8938262bafa251b4108fb"}},{"ruleId":"D2","level":"warning","message":{"text":"db_tools.getChatHistoryTool (cognitive 20): db_tools.getChatHistoryTool has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a077494ac2d6c399d39de855cc9f56a4238c3bba0f36028f376bcddc5fd3d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"select_frozen_v3_runs.selectFrozenV3Runs (cognitive 20): select_frozen_v3_runs.selectFrozenV3Runs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/select_frozen_v3_runs.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b67441b15153dc35cd16663db2e579189e9b01f971a682a1d594ba667102d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"result_diversification.diversifyResults (cognitive 20): result_diversification.diversifyResults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (12 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/result_diversification.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f588e1572c2efca65eea3f5cd3b94e009f24dea400a5fb704abf566605115"}},{"ruleId":"D2","level":"warning","message":{"text":"segment_passages.segmentPage (cognitive 20): segment_passages.segmentPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/segment_passages.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c947aea8b2b35e910a905be23a5d0672452dff8f982a8b6023a73bce8df8f8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"build_splits.buildSplits::getTopicForQuery (cognitive 20): build_splits.buildSplits::getTopicForQuery has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 10. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (build_splits.buildSplits) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eaa086eed6d996d76d729dc867bad2bb903053e2b69dfd12d30c5a50377101e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitMetrics (cognitive 20): run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitMetrics has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), loops 3 (5 pts), if/else 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (run_v4_policy_repair.runV4PolicyRepairPipeline, run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitSubset) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ed07684f1b092cfd2f8dde5523991fb9fa69441830fa3531cdd7f130684892"}},{"ruleId":"D2","level":"warning","message":{"text":"r2_12_candidate_generator.generateR212CandidatePool (cognitive 20): r2_12_candidate_generator.generateR212CandidatePool has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 6 (7 pts), boolean chains 2 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/r2_12_candidate_generator.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8203bc0975fea35ce428af07126564a0c0c7e874908be67547ae821a9e330d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_r2_5_local_tree_development.train (cognitive 20): run_r2_5_local_tree_development.train has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3686513d4284a5dc56e128511410f8d5e6e9beb1df1d9199cbe53876668dad"}},{"ruleId":"D2","level":"warning","message":{"text":"build_r2_22_human_review_docx.add_instruction_sections (cognitive 20): build_r2_22_human_review_docx.add_instruction_sections has cognitive complexity 20 (threshold 15). Drivers by points: loops 7 (9 pts), ternaries 9, if/else 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_22_human_review_docx.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4eca62f2427a442fb2c5328effe0061957e62e91329802bde7d9e09a1363b9"}},{"ruleId":"D2","level":"warning","message":{"text":"audit_v6_final_query_review_coverage.main (cognitive 20): audit_v6_final_query_review_coverage.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_final_query_review_coverage.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2105d080e9cee0be720a7e4f4101a5562698660a74c74756bedfa39b4b5d2459"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.mapDocumentRow (cognitive 19): adapter.mapDocumentRow has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee85b79fed9abebc2376c1281f23517ad644fe6e99e368d8672e00d977f7244f"}},{"ruleId":"D2","level":"warning","message":{"text":"file_tools.scoreChunk (cognitive 19): file_tools.scoreChunk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c311e36f32fef9267c11c020495d1a03781454169329d239a22af7f0ec8e8da8"}},{"ruleId":"D2","level":"warning","message":{"text":"retrieval_metrics.calculateQueryMetrics (cognitive 19): retrieval_metrics.calculateQueryMetrics has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 4 (5 pts), loops 3, boolean chains 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/retrieval_metrics.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da08842ebcefe1ee6788569572684a2dffbf657517a8077618104451cd46c394"}},{"ruleId":"D2","level":"warning","message":{"text":"ragDocuments.mapDocumentRow (cognitive 19): ragDocuments.mapDocumentRow has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, ternaries 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfedcfd0a5a4793792c64b044a1cc2d9bf9c4ff6038aaeeceec1181376e5d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_v6_antigravity_response.main (cognitive 19): extract_v6_antigravity_response.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/extract_v6_antigravity_response.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dee3db9fb8301dced86889a3cfabb887de256341bb392153204af87a8d2875"}},{"ruleId":"D2","level":"warning","message":{"text":"v6r_retrieval_core.select_best_relation_pair (cognitive 19): v6r_retrieval_core.select_best_relation_pair has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/v6r_retrieval_core.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f215491d5a2005d554ed5f3ebbd5de342ff105af907efb764f41debfbaae50"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_v7_pilot.main (cognitive 19): evaluate_v7_pilot.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (4 pts), boolean chains 3, loops 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f428049aa7c363df773729d948a1b0a5d5353a55df44edcb8fc32bac1e325228"}},{"ruleId":"D2","level":"warning","message":{"text":"versionAwareRag.selectBestRelationPair (cognitive 18): versionAwareRag.selectBestRelationPair has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4e647a84cfac44b892a9c05a1fc5ee121397219a915b6e36eb4735bb17e57a"}},{"ruleId":"D2","level":"warning","message":{"text":"segment_passages.splitLongBlock (cognitive 18): segment_passages.splitLongBlock has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/segment_passages.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc4b823bcade0a5ff12c35d3ea9f6c0c72303fa0cbbe3d6622007548c51b095"}},{"ruleId":"D2","level":"warning","message":{"text":"tune_recency_lambda.runTuning (cognitive 18): tune_recency_lambda.runTuning has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 5 (6 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06fa67747c59939368eae648c21889b08c319352ffda574b9cba27b1de5b652"}},{"ruleId":"D2","level":"warning","message":{"text":"run_focused_policy_development.runFocusedPolicyDevelopment (cognitive 18): run_focused_policy_development.runFocusedPolicyDevelopment has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (10 pts), boolean chains 8 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_focused_policy_development.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa88f36d5593c278b15a99491909d04991ba4f5f1fd1dcfcc4252ecbd5a5b81"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitSubset (cognitive 18): run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitSubset has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (6 pts), loops 3 (5 pts), if/else 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (run_v4_policy_repair.runV4PolicyRepairPipeline, run_v4_policy_repair.runV4PolicyRepairPipeline::evaluateSplitMetrics) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca44b94a0afdf185db94b3d70a913d126dc63cc96dcc600be2baf2d086757f"}},{"ruleId":"D2","level":"warning","message":{"text":"relation_aware_pair_policy.selectRelationAwareTopK (cognitive 18): relation_aware_pair_policy.selectRelationAwareTopK has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 2 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/relation_aware_pair_policy.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e614c3e2f92a5a126ee47322086e5efa175b56b7fefaac64fa7e8e7bb13fa1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"run_v5_relation_detector_development.evaluate (cognitive 18): run_v5_relation_detector_development.evaluate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (6 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd461543aaa7b9dab0526d67077369868744f75672c792e9b636ffed6926dec2"}},{"ruleId":"D2","level":"warning","message":{"text":"import_v6_query_review_delta.main (cognitive 18): import_v6_query_review_delta.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), ternaries 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/import_v6_query_review_delta.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e3c2b9b6f40be83a4c5d0a8034d7fbe470ef2ad9be5fb939c19893bc97c9b1"}},{"ruleId":"D2","level":"warning","message":{"text":"DenseRetriever.retrieve (cognitive 17): DenseRetriever.retrieve has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (8 pts), boolean chains 5, if/else 3 (4 pts) (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/dense.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"671c6b90d6d8f0c4587c03b1cc1afcd6ca4ea882e3ce7e4924b5e687ed0ae665"}},{"ruleId":"D2","level":"warning","message":{"text":"PolicyEngine.resolve (cognitive 17): PolicyEngine.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/policy_engine.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4896809745b26bc260bda9482c5f9c7f268e820891af940253b6dec8b06494"}},{"ruleId":"D2","level":"warning","message":{"text":"agentRuntime.callModel (cognitive 17): agentRuntime.callModel has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 6, if/else 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f73cda3880649317c066c100f9164a938f5b56e1d02a39047c448887b417f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ragDocuments.parseMultipartUpload (cognitive 17): ragDocuments.parseMultipartUpload has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfc2963f9083c061ac92956a63178151ecc52016dadf1700c2f5ca1e77916e0"}},{"ruleId":"D2","level":"warning","message":{"text":"build_v6_relation_consensus_ledger.main (cognitive 17): build_v6_relation_consensus_ledger.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3, boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_relation_consensus_ledger.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a767fff1902154c9854be9daafd24b5cd1b9013fbc21325632366a7461227e"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve_v6_page_gold_to_chunks.main (cognitive 17): resolve_v6_page_gold_to_chunks.main has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (8 pts), error handling 1 (4 pts), if/else 3, boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/resolve_v6_page_gold_to_chunks.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f73a2dcd80e5093ea56a5895d8265bcd4d8902b4fa53803c3b9172c869d23a9"}},{"ruleId":"D2","level":"warning","message":{"text":"RelationGraph.loadGraph (cognitive 16): RelationGraph.loadGraph has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0e110d598e46dfdc8c07d50bfaeaec0f73b2755ac1e2c585b487e22981787b"}},{"ruleId":"D2","level":"warning","message":{"text":"review_r2_14_candidate_groups.reviews (cognitive 16): review_r2_14_candidate_groups.reviews has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4923d87c6cc584eca559cc68f793d5ce09d398443fd1785d54ad9fabb189a3"}},{"ruleId":"D2","level":"warning","message":{"text":"run_r2_18_candidate_failure_attribution.iterativeClosure (cognitive 16): run_r2_18_candidate_failure_attribution.iterativeClosure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c98b566646029d0bee153fac5bfd71fdb938fdf99895354fa91e12782f8626"}},{"ruleId":"D2","level":"warning","message":{"text":"run_r2_19_neural_hybrid_diagnostic.iterativeClosure (cognitive 16): run_r2_19_neural_hybrid_diagnostic.iterativeClosure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9639878a8d9eedebc8ff7bae99a767dcd789691c105f3197bb638f7fe3dc822f"}},{"ruleId":"D2","level":"warning","message":{"text":"build_v6_runtime_relation_graph.select (cognitive 16): build_v6_runtime_relation_graph.select has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_runtime_relation_graph.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3111382a5d7187a41f3da0446ab75ec7bff69cfdd8166cfe2c66940416dad66"}},{"ruleId":"D2","level":"warning","message":{"text":"build_v6_runtime_relation_graph.main (cognitive 16): build_v6_runtime_relation_graph.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_runtime_relation_graph.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7517c7d072e71ab8f3724e6ad8c6a2fa53d533e9345345f24556069bba2431b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build_splits.buildSplits: FunctionTooLong \u2014 buildSplits runs 979 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 879 over it, 9.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf3a3036be8806216cabb4d47caabba0c366323e558f5c6e84c3c9690e5eda6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build_v4_candidate_pairs.main: FunctionTooLong \u2014 main runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32f2f680111be34e1af5206583f45e48ca96e52932304eec9dbbfc034fb859b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: adapter.createSqliteStorage: FunctionTooLong \u2014 createSqliteStorage runs 304 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd460d9bc47d7581867bf4741050c2d658b6d64b9397f4b455f3c5a5d0ac725"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VersionAwareRetriever.retrieve: MethodTooLong \u2014 retrieve runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"158c697eaf85ab99da7bf11add4030f41587adad179a07d0c256140e832fa4de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run_experiment.main: FunctionTooLong \u2014 main runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"434b074aa015db1a887cb5d20459213c922e7d17fbf84d8afa030ab2410a5c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: healthy_diet_api_server::api::diet::yolo_handler: FunctionTooLong \u2014 healthy_diet_api_server::api::diet::yolo_handler runs 233 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e4b3007e9613c77d74e6649563e25f03da771dfa0718ba5e4500b57c269d35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: audit_v4_candidate_coverage.performAudit: FunctionTooLong \u2014 performAudit runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34841e0fdb0f47a785d7f00981388e2c348a4dcadca8ebbc79b9f3c3b8d886b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: adapter.createSupabaseStorage: FunctionTooLong \u2014 createSupabaseStorage runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec6a75fb8e84965705ceb7a82dc99460b120356881a23041e449ba01787ec47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: validate_annotations.validateAnnotations: FunctionTooLong \u2014 validateAnnotations runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_annotations.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d768998eff878f05b1d3a179c799bc49557a9a304b924551829c67d246556d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: annotation/build_splits.ts: FileTooLong \u2014 988 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: buildSplits (22-1310). The bar is 500 significant lines; this is 488 over it, 1.98\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"060c31d3f1c23895363609e46e872a40114fd1ef7545928719c6df6d64aaff33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trace_oracle_retrieval.traceOracleRetrieval: FunctionTooLong \u2014 traceOracleRetrieval runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a733f2d49086b87e5c27a70786709e2b161528d27f290807e2566be341656c97"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: healthy_diet_api_server::router::create_app: FunctionTooLong \u2014 healthy_diet_api_server::router::create_app runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/router.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc75cb4aa79873b1c078549e0b02e3d96fdb64141e2daddda37f4bdbff0068b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import_and_adjudicate_answer_annotations.main: FunctionTooLong \u2014 main runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e666db2e91bf30ec6fae5c995c5dd84a3e872ea0b4358a7a54a8c2863d6132"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/serverHandlers.ts: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7ca6a7aacdc27546415160566e38d9978610448dfe26fc104bd73d4271a870"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run_oracle_counterfactuals.runOracleCounterfactuals: FunctionTooLong \u2014 runOracleCounterfactuals runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb7299a89c05bf64866f375a3b6774d2f1844500e4418da63c55f7090496ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: knowledgeGraph.createKnowledgeGraphRouter: FunctionTooLong \u2014 createKnowledgeGraphRouter runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"653158abe06718316647740f9712e92a1195084a869be80c98723bd262e3d2f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v5/build_r2_11_remaining_annotations.ts: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca19aed3b128897ac38601e6f01b5b40aa15e0bea65830420308802fe3d1117"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/agentRuntime.ts: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 214 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38b3764481b33eb2a73e68317152fa9a51a3aa70b1e9615e36529a7fe318a33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ragDocuments.createRagApiRouter: FunctionTooLong \u2014 createRagApiRouter runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ab700400ac8fffde48e3f0745dbe0c05278186883ac898da6e1376fa117739"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compare_recency_oracle.compareRecencyAndOracle: FunctionTooLong \u2014 compareRecencyAndOracle runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc4b85d39b9aa53607dc79aebe1037ce6a63a8fc2106cb4a3949e09035dab80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/knowledgeGraph.ts: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1782f11165ffafccd4167569589acf4d1d8930573d05951a604c010d835a90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build_paper_tables.main: FunctionTooLong \u2014 main runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba66b97e745e057b97bae34859ab3f619d02346dfe5bef257fd5fa5caa16838c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v4/run_v4_policy_repair.ts: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0053249523e2df832c93b3dfeab91548f30e9c45d18fabdd27940d7811a41d8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: classify_relations.main: FunctionTooLong \u2014 main runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/classify_relations.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e50b295c969d278adaffa690827828869495364d8ffa0bff4f1d2aaa396a657"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LLMDetector.classify: MethodTooLong \u2014 classify runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bc0adb20f5293d70214c3ecda2af168402f1d84c12049c0430df4f0d101cff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v5/build_r2_22_human_review_docx.py: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_22_human_review_docx.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e27455a2ff387354c3c0c24f36a11b15e7162e333bdc09a8d858a42a1a3c565"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run_heldout_pipeline.main: FunctionTooLong \u2014 main runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0377e2d0322e717f9f31b15a3c91d6f9eeb787d458115bc91b85b04d3765c1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export_blind_answer_annotation_package.main: FunctionTooLong \u2014 main runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/export_blind_answer_annotation_package.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cf8f2a380a032b9c8f929d936a9853d3167cf519e7e316ab04c238dd1443e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/admin.rs: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789207fe826da1ec64793a72ab2a19b825b8d2964628876d504fc1c5d6ab9a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v5/build_r2_12_confirmation_annotations.ts: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9cbbc5c6e4a51ec9fd5c3dd1184da3d942bdbfe3155398a9de0c4b1407e75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v5/run_r2_11_development.ts: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef119cdd5a302fc396baaffdec353d729e3f0e274a2b75cffc1dfeb285c560"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v5/build_r2_14_confirmation_annotations.ts: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90b26f27294e045b143efe27168101fff3efbd7b236f8c2185d094c4b308236"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.py:52-84 | experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py:53-96 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_batch.py:52-104 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py:57-88 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_26.py:56-77 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_4.py:48-68 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c760081ef4f046c7ae97f7bd54a76a8b30117ac5938f959344b977f87b2e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): experiments/version_aware_rag/scripts/v6/v6_retrieval_core.py:50-61 | experiments/version_aware_rag/scripts/v6/v6r_retrieval_core.py:48-58 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/v6_retrieval_core.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dcaa1ca5938c302d4d91da631b5d06a9aa6ba944b81b07ef8a7933402618f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): services/api/src/api/admin.rs:670-709 | services/api/src/api/user.rs:13-51 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c374705d5998d8cf8ecc7ae57b4e994091918df0cf48dd9a274948b3ceb4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py:90-102 | experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py:44-53 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bfc3a103f53ff2c09b4584ba5cae655baa39b32448900bc32059c7b6120a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): experiments/version_aware_rag/scripts/v6/v6_retrieval_core.py:64-77 | experiments/version_aware_rag/scripts/v6/v6r_retrieval_core.py:61-70 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/v6_retrieval_core.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b319ba30ad175654b6f989d1f0bf28e38f8650d4b41c4b7f7ca53e3692b147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): services/api/src/api/admin.rs:108-135 | services/api/src/api/admin.rs:273-300 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba029345b6c1c74c4d79ac37155c0783f97da0b5d27050c60d2a6fbd132ec37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py:106-117 | experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py:57-65 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f40817c004e5f47168819f69e60b6694cc5b485bfee47f168ca08fc60c720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): services/api/src/api/admin.rs:479-513 | services/api/src/api/admin.rs:519-553 | services/api/src/api/announcement.rs:18-47 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1ff3cc9e4af21f0714139c2366efa044722787304bc5ba1e565ff06f108edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): services/api/src/api/agent_content.rs:36-60 | services/api/src/api/rag_document.rs:41-55 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"476c078b5d6eb8ec0fed7c841bc033eed20009846ac24798820fa345c5417877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): services/api/src/api/rag_document.rs:228-244 | services/api/src/api/rag_document.rs:246-262 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"76173b04bd31fa6d73cd6c536db0a551704cf1d72d23674241e474802b0c404a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): experiments/version_aware_rag/scripts/v6/build_v6_runtime_relation_graph.py:34-36 | experiments/version_aware_rag/scripts/v6/resolve_v6_page_gold_to_chunks.py:57-59 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_runtime_relation_graph.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e621a51260bf73fc6e3a4045808ab636144fe7df55843bee6062396c9e39e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): services/api/src/api/knowledge_graph.rs:159-173 | services/api/src/api/knowledge_graph.rs:180-194 | services/api/src/api/knowledge_graph.rs:239-252 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/knowledge_graph.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"51418e7886db8d2eebac7da4bb6d5e7f8df0546acd43e2a44eede24a552e979f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): experiments/version_aware_rag/scripts/v6/run_v6r_repair_diagnostic.py:32-33 | experiments/version_aware_rag/scripts/v7/build_v7_pilot_drafts.py:71-72 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/run_v6r_repair_diagnostic.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c705485fe836fa0bfb6e5a8c08a978fa06d5778d76a4e0fac76b2e21c657a62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): services/api/src/api/knowledge_graph.rs:124-136 | services/api/src/api/rag_document.rs:510-522 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/knowledge_graph.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6e8b9affd79cedbf505e27cb8ea796374310d4c087cac0a8a56f1b6efb2df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 2\u002B corresponding lines): experiments/version_aware_rag/scripts/v6/allocate_v6_query_slots.py:43-44 | experiments/version_aware_rag/scripts/v6/analyze_v6_relation_review_agreement.py:26-27 | experiments/version_aware_rag/scripts/v6/audit_v6_relation_candidates.py:32-33 | experiments/version_aware_rag/scripts/v6/build_v6_relation_consensus_ledger.py:42-43 | experiments/version_aware_rag/scripts/v6/build_v6_relation_review_batch.py:78-79 | experiments/version_aware_rag/scripts/v6/import_v6_external_relation_review.py:27-28 | experiments/version_aware_rag/scripts/v6/record_v6_codex_relation_review.py:20-21 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/allocate_v6_query_slots.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be09189e07bae6a6808ceba26ce75634277fd519639be879f831cd61976422f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): experiments/version_aware_rag/scripts/v6/analyze_v6_failure_attribution.py:28-29 | experiments/version_aware_rag/scripts/v6/verify_v6_evaluation_independently.py:27-28 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/analyze_v6_failure_attribution.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8c745d9e4b518dec01bc0f3e499a3b931116603b77b4b9e29840532bff395f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201329 lines \u00D7 4): experiments/version_aware_rag/scripts/v6/build_v6_relation_review_batch.py:173-199 | experiments/version_aware_rag/scripts/v6/extract_v6_antigravity_response.py:83-111 | experiments/version_aware_rag/scripts/v6/import_v6_external_relation_review.py:157-178 | experiments/version_aware_rag/scripts/v6/record_v6_codex_relation_review.py:114-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060experiments/version_aware_rag/scripts/v6/build_v6_relation_review_batch.py:173\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":"experiments/version_aware_rag/scripts/v6/build_v6_relation_review_batch.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2053a681fb9c2c17a0827cae1dcca86c920bab4e5ea7e9802f6bb7104ed1a15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): src/rag_clean/pdf_to_clean_markdown.py:13-34 | src/rag_clean/pdf_to_clean_markdown.py:47-70 \u2014 both copies are in the same file, so extract the block 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":"src/rag_clean/pdf_to_clean_markdown.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d119069cb62246392fb631180f96e9200206a2d7984e784226f2e47123a74eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 3): experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py:83-95 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py:72-87 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_4.py:54-67 \u2014 before extracting anything, compare \u0060experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py\u0060 and \u0060experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f986e356f335da0547d5e093b657a8fb3b7ffb22449bad392f3089c6ef1944d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 4): experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py:81-94 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py:70-86 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_26.py:60-74 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_4.py:52-66 \u2014 before extracting anything, compare \u0060experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py\u0060 and \u0060experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc8e9c1b9406baa990c81bd13c0faa3ee1edb5ae90f0ab54f8071bb11b1999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.py:71-83 | experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py:86-95 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_batch.py:92-103 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py:75-87 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_4.py:57-67 \u2014 before extracting anything, compare \u0060experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py\u0060 and \u0060experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060experiments/version_aware_rag/scripts/v6/build_v6_query_review_batch.py:91\u0060 calls \u0060write_text\u0060, \u0060dumps\u0060 and \u0060experiments/version_aware_rag/scripts/v6/build_v6_gemini_query_review_delta.py:85\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b413c8835ad87c1ebc2087273df0c0721f44e1d142ab054999adead5c1d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py:134-143 | experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py:78-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa436d17c1368551e13977d95917f2f7030b36123d82035a172bdfab62390722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.py:55-61 | experiments/version_aware_rag/scripts/v6/build_v6_query_review_delta_23.py:66-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_final_review_gap_batch.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2913b8fc1331c2665914ede3d87437033e6d47bde3968580451d47912232e09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): experiments/version_aware_rag/scripts/v7/consolidate_v7_hard_negative_delta.py:20-36 | experiments/version_aware_rag/scripts/v7/consolidate_v7_structured_review.py:20-36 \u2014 before extracting anything, compare \u0060experiments/version_aware_rag/scripts/v7/consolidate_v7_hard_negative_delta.py\u0060 and \u0060experiments/version_aware_rag/scripts/v7/consolidate_v7_structured_review.py\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v7/consolidate_v7_hard_negative_delta.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e61f97c8d1352aa25bd72aaa9532b07c0975e86d6504333ea32da57c38a9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py:93-97 | experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py:46-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py:93\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":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"02057834487bbb1e09b8f4d370fdee66f56920e09b4374d48a5c22a605ab8c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py:124-129 | experiments/version_aware_rag/scripts/v7/evaluate_v7_pilot.py:70-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/evaluate_v6_fresh_retrieval.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7846e59c1627b67ff425d9c309467402be93c92d67123b356c7948303cd4799e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): experiments/version_aware_rag/scripts/v7/build_v7_review_packets.py:67-70 | experiments/version_aware_rag/scripts/v7/build_v7_review_packets.py:75-79 | experiments/version_aware_rag/scripts/v7/build_v7_review_packets.py:82-86 \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":"experiments/version_aware_rag/scripts/v7/build_v7_review_packets.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be6349658b71ed49754c16bbf72a4d883e272d2a4841d25adb9076b108a0844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): experiments/version_aware_rag/scripts/v6/build_v6_runtime_relation_graph.py:73-77 | experiments/version_aware_rag/scripts/v6/resolve_v6_page_gold_to_chunks.py:145-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_runtime_relation_graph.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37ab3b59ab4645c92574bbcb4073ed3ffa942de5e7c59202e693878fa7c6dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): experiments/version_aware_rag/scripts/v6/v6_retrieval_core.py:57-61 | experiments/version_aware_rag/scripts/v6/v6r_retrieval_core.py:54-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"experiments/version_aware_rag/scripts/v6/v6_retrieval_core.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bb4d9577bbb1a9cf6770ef0bad752916a64af6dbd8c11f4bca2380e551f7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): services/api/src/api/admin.rs:498-513 | services/api/src/api/admin.rs:538-553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/admin.rs:498\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff7330bbf5dc7c60d183a712bb2028b245cade560e9c2e915656b0382c19c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/api/src/api/admin.rs:315-329 | services/api/src/api/admin.rs:417-431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/admin.rs:315\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":"services/api/src/api/admin.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3b82e3fa4ec97924c4da3f21298ae0c64c8024a53b8706180e4f3232e1bfba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/api/src/api/admin.rs:683-697 | services/api/src/api/user.rs:25-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/admin.rs:683\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6dc8e664771cacea27680823b58487208e40548fd7dca948103af0c281802a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/api/src/api/agent_content.rs:81-95 | services/api/src/api/rag_document.rs:119-133 \u2014 before extracting anything, compare \u0060services/api/src/api/agent_content.rs\u0060 and \u0060services/api/src/api/rag_document.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b64669626bd44d8aa4ed6c5acf0363980528edeb211a2fe26e992a9b6f5760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/api/src/api/user.rs:39-51 | services/api/src/api/user.rs:93-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 \u0060services/api/src/api/user.rs:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/user.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8c07c0bb4d0aef0a43aa400bcd708fc57acc7493cae6cdd1245dbb90d85011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): services/api/src/api/agent_content.rs:119-130 | services/api/src/api/rag_document.rs:95-106 \u2014 before extracting anything, compare \u0060services/api/src/api/agent_content.rs\u0060 and \u0060services/api/src/api/rag_document.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/api/src/api/rag_document.rs:91\u0060 calls \u0060trim\u0060, \u0060is_empty\u0060, \u0060Ok\u0060 and \u0060services/api/src/api/agent_content.rs:117\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"696d8b5d9ec40156bc8945f23adb2268587aae795aaae37098fea30d4d892fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): services/api/src/discord/login.rs:78-89 | services/api/src/discord/login.rs:101-112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/discord/login.rs:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/discord/login.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"267f22668a5fe07da58e4bbbd310bb31fa81428abd6740c6234b26ba3100e219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): services/api/src/api/admin.rs:498-513 | services/api/src/api/admin.rs:538-553 | services/api/src/api/announcement.rs:32-47 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/admin.rs:498\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0fcfb9b4eac34d467912429a8bd44cc074601d9245e3000815dfc4538c0106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/api/src/api/login.rs:19-32 | services/api/src/api/refresh.rs:50-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/login.rs:19\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e96bc5f23fdeb451669cbc88bc81f947f1e3bd156f1de17f38c899572a94ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/api/src/api/admin.rs:122-135 | services/api/src/api/admin.rs:287-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/admin.rs: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":"services/api/src/api/admin.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"357184bc627bfceed7dea0111b88c93f2d3089ed39dfe3903b4ce387c3a1695c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/api/src/api/admin.rs:560-572 | services/api/src/api/admin.rs:610-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/admin.rs:560\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":"services/api/src/api/admin.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a94ac8846705ebd5702cba1f86c37da7427b0e17fb8db2e4341318d06de47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): services/api/src/api/rag_document.rs:230-241 | services/api/src/api/rag_document.rs:248-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/rag_document.rs:230\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6711a0a73f3b3baecea8adc407d3e6128af79afa75f54af40dbd96a2bac6e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/api/src/api/agent_content.rs:98-108 | services/api/src/api/rag_document.rs:182-192 \u2014 before extracting anything, compare \u0060services/api/src/api/agent_content.rs\u0060 and \u0060services/api/src/api/rag_document.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2052dee70b8c6ad9743cd6741f02cd9447b72a84c4eedc13b0713a9f9c551955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): services/api/src/api/login.rs:59-66 | services/api/src/api/refresh.rs:75-82 | services/api/src/api/register.rs:95-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/api/login.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce2effed0a39d1c8b90c33d7adc2838870c6caeea3e6c9cffdceda18b5f928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/api/src/utils/jwt.rs:63-70 | services/api/src/utils/jwt.rs:73-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/jwt.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c025a8ac10113d1bf176de0726f7a80b30cf4b80ec2bdc2bf6b6489eebde60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/api/src/utils/ai_prompt.rs:6-12 | services/api/src/utils/ai_prompt.rs:16-22 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/api/src/utils/ai_prompt.rs:6\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":"services/api/src/utils/ai_prompt.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8012feed1b7c60cbaed43b48c231d916d8f02cf7c63ca0e39b91e09f479ff467"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: agent_skills \u2192 src/server \u2192 agent_skills (one cycle inside a mutually-dependent group of 3 modules)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d6c1a3adaa9ff9cde23dcf823cbe475b94cf15b050abc018c58abbec6a6927a"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: experiments \u2192 src/shared \u2192 experiments"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c77a307bd4ad187241cd0269ece6e195dcfa27aa9ada0836497bfd873abd11d7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/config: src/config: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"58c28dbabdd7f75db7ba2b3f5d729faddea34d727e197b8ddb269a964c649cf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts: experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in compatibility_expansion.expandCompatibleChunks at line 4. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 13:48:19 \u002B08:00\u0027 --until=\u00272026-09-28 13:48:19 \u002B08:00\u0027 --full-history --no-merges -- experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedd7a2b97bc67e02e6e3d593e617ec50f81b3ac15b3f735c6d0ceb2ed2f478e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server/agentRuntime.ts: src/server/agentRuntime.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in agentRuntime.callModel at line 634. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 13:48:19 \u002B08:00\u0027 --until=\u00272026-09-28 13:48:19 \u002B08:00\u0027 --full-history --no-merges -- src/server/agentRuntime.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc483c8c280b710c2b3b217352f73093035c474964528e6bd6d80fe426f1743"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts: experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in LLMDetector.classify at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 13:48:19 \u002B08:00\u0027 --until=\u00272026-09-28 13:48:19 \u002B08:00\u0027 --full-history --no-merges -- experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd27ecbe6f1a333159198c38035106d1e35ef5610cbb3214bd8fcf596c889006"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Recency on fixed pool\u0022 repeats the code it sits on: 3 of its 3 words (recency, fixed, pool) are already in \u0060const recencyRetriever = new RecencyBoostRetriever(fixedPoolRetriever, chunks, 0.75);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"80989ede7fcc481a0c1586d432700e249e6d50394ce414f7f9d55c916c69f255"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Full Oracle on fixed pool\u0022 repeats the code it sits on: 4 of its 4 words (full, oracle, fixed, pool) are already in \u0060const oracleRetriever = new VersionAwareRetriever(fixedPoolRetriever, chunks, graph, { full_version_aware: true });\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5981eaa6c2eff9a062ea15e83e6329f583cdaaed904683e3ce52cc3ee5a23ea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022SECTION 1: Retrieval Evaluation (Automatic)\u0022 repeats the code it sits on: 4 of its 4 words (section, retrieval, evaluation, automatic) are already in \u0060const section1Md = \u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a067a149b66540a74df0f7a3eab9fe9609abcdb55e9b424e54255754557314b4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022LaTeX Output\u0022 repeats the code it sits on: 3 of its 3 words (la, te, output) are already in \u0060const latexOutput = \u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c904cad5919b5298bf35cdc7fb5dbb4cf3ace3e42fab65dceb120bae39766"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter queries by split\u0022 repeats the code it sits on: 3 of its 3 words (filter, queries, split) are already in \u0060const queries = allQueries.filter(q =\u003E splitQueryIds.has(q.query_id));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb883c841f6a903f1c5134b3f0647ddb0a37faa50bc61d01723c5b87f9e518ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Export Blind Review Annotation Package\u0022 repeats the code it sits on: 5 of its 5 words (export, blind, review, annotation, package) are already in \u0060console.log(\u0027Exporting blind review annotation package...\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab71ef8f963273d3efea109e4cc308e8a5fdb4b77616bd1ed1a9e8ddd8eed4a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set split to validation\u0022 repeats the code it sits on: 3 of its 3 words (set, split, validation) are already in \u0060const splitName = \u0027validation\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7736b46917686f8f4caf3f061e5985a7c5644164a3076ec1f1b85b23148bacd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Base BM25 candidate pool (Top-20)\u0022 repeats the code it sits on: 6 of its 7 words (base, bm, 25, candidate, pool, 20) are already in \u0060const basePool20 = await bm25.retrieve(queryContextBase, CANDIDATE_POOL_SIZE);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75f5416553591bd5cf5b637bca1c5ae469d1c6ded924af1666c8312d2466122"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Before / After failure cases for q-030, q-031, and q-037\u0022 repeats the code it sits on: 5 of its 5 words (failure, cases, 030, 031, 037) are already in \u0060const failureCaseQueries = [\u0027q-030\u0027, \u0027q-031\u0027, \u0027q-037\u0027];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"154a32a76bfc5e2ac4a01721d5ee9208eff32c0ff5e49580db770af7c9d59601"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write queries.jsonl\u0022 repeats the code it sits on: 3 of its 3 words (write, queries, jsonl) are already in \u0060fs.writeFileSync(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"af394845776b204b12f2c8a3d585c9ce3940bd1434e2dfcd22d30c10246275b4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write queries.jsonl\u0022 repeats the code it sits on: 3 of its 3 words (write, queries, jsonl) are already in \u0060fs.writeFileSync(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0415057abed4531dbc5627f6edd9d24aac3a5f2b10d862b980b8f9712c0d6e83"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Write relation pairs and annotations\u0022 repeats the code it sits on: 4 of its 4 words (write, relation, pairs, annotations) are already in \u0060fs.writeFileSync(path.join(annotationsV3Dir, \u0027relation_pairs.jsonl\u0027), relationPairs.map(r =\u003E JSON.stringify(r)).join(\u0027\\n \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"da23826759ff8fa2373724d1b49033029191a1895d6602cd6a35c52af11d0ab4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Page sequence auditing\u0022 repeats the code it sits on: 3 of its 3 words (page, sequence, auditing) are already in \u0060const page_sequence_audit: Record\u003Cstring, any\u003E = {};\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/audit_corpus.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96eb0924e44dd90e94609d0d897589249288b1a2ac0865a3daeebd7cb20cf18"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update processed list with expanded items\u0022 repeats the code it sits on: 4 of its 5 words (processed, list, expanded, items) are already in \u0060processed = expandedList.map(item =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1530a922d2e098e698cff26f9be1b4ee20a30b3a963c6f553c9dcf2f835870b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Transitive checks along duplicate or superseded edges\u0022 repeats the code it sits on: 4 of its 5 words (checks, duplicate, superseded, edges) are already in \u0060if (edge.relationType === \u0027duplicate\u0027 || edge.relationType === \u0027superseded\u0027)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c91d53152beb9c493b9084275f4d16933abebc27e1722e7317f2fe32e40a94"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Base scores map (c-old has baseScore \u003E minBaseScore)\u0022 repeats the code it sits on: 5 of its 6 words (base, scores, map, old, score) are already in \u0060const baseScoresMap = new Map\u003Cstring, number\u003E([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/tests/unit/compatibility_expansion.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3db36c2c6525c532dcc3d828119e37f4939217513007b87828987d1cd522e67"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Scenario 5: compatible old chunk\u0022 repeats the code it sits on: 4 of its 4 words (scenario, compatible, old, chunk) are already in \u0060test(\u0022Scenario 5: compatible old chunk\u0022, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/tests/unit/retrieval_metrics.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"055aa1bfac5916df4ad9462e5cf8e7eb230f3a0711f827d14a327843a01c3a7d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (51298 LoC, 431 module-visible types across 25 directories) overshoots its size bounds. 1 of 3 build unit(s) (Cargo, Python, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"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":"87631ef9dc860fe073c6e1ff183e9aaaecb168370c859f96429892b72e5f7a1e"}},{"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":"658c018bdb0f908bfa22c0e797d743f7305cf6ac8fdc3d6b95f4d3024482bf94"},"properties":{"commitSha":"e370f5923a90d54a6a6d15f547eb40ce025aab8a"}},{"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":"6c59c92ca8239c54f09f852c101465d546ea9b7ef11925f3759f9d065fc95c16"},"properties":{"commitSha":"e370f5923a90d54a6a6d15f547eb40ce025aab8a"}},{"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":"b5a9f4e655ebcdf7a4201960c87fe0249e69a31245ae2966b42cc369d51d6b3f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3320a490c6fc8e57261c72208835ba5c7affa7fdb8db42e8817fa3ff46268f2c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e306271469e9f0db638b98d17e1b0ba4bb72ee3a9146031a33cfa227d985605"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81dc505d2ad47253a4aac36ff7bdbc37f6b99fc4451363bfa8d62d10749c0d13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db58a5578713dd045533c631e54e78c3ab59568dea4d9406e9ff92f3db3b2118"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06ee3fd37a48af245bdce7b974c4951e509b640f1af97f81f21a7c55a01a9c4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9f29a88b705b540f1adb9d1777f94615d7610c0074dfd82803a1a1d7a971a75"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da6663cc469d14cf13af7639eb9e380704ada0a2415b7a45be76b27991a1c379"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be8d305859113cf685a35158cde8a52db70b4274bacbb59e3620432d7cf91de6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a14564ef9892ea6d52e8c581362c62516e3a802db965fdb74e691c4ca8dc20af"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"837fd810a9e0a822bdb9251f4d9831966adab7c50cef43d38e47efafe6b38974"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"013186bffd9c46b332136a12713bcfdb7149ba2445a901087681484b7e9047b5"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ebf8f99d9d989d1d889dbdb2f7e24a9ba2a545a88f23dc850694e8acdaddb91"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2b8753f0f2c683f7fb6061b121a042c6a2bdf7edb3921c52d90e0a1d78b5934"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ea43b41bc980e9ae0754c5a6fedb00c124aef19bf27bab9519fd94f50fd99a0"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a8ec0d1b6e668ee129bc8a250a180597f7ffac32d0449cb6db9e5416a05a663e"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8265078ab1a3babbf8a72d7bc853d26e996f640ba1d0ff074aed767fa150ca6b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f8c1a0d2aeefd94140364b84b3ce9463fa17446ffbed60dff6153d70d8b0311"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b6344ee2d2b6662993ba7843eaa3f9e446dd115a934794256993f5f5a06221f"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"587ee12b26c812fefe9ba62e1e8e5a48e29d53d5d2921988f8305d2ffafbc5cf"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31f4f9a367d7b15de6a34260ac33df4e689034b90a8d4411143bc85f6d2b0c8c"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a1cafe89e9a6622f2602040102c6c1b16a601ba752271d35f586af7d8da2ec2"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a510f224ea256c1f9960092b91abc1dae7e7a8e36a9c24c1673c094dddff1298"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b2a221ebf6ffac8d724a30d7af1bcfa7a99a3ad687dde2472788652058d58d1"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00c8603d182ba4ef3003985be3c9069c42f7f2980ade0c2da40a92ff91dff721"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a96df6f35c2bee1990cf5bad7fb3d5a7b01560a37842c320633d40cb27331a0"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d956dab96473caf3f4a4d2297d61fa7aa1ee4a25605dbb980e7d7677be11b2c"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f569bf17550ee8c099a019816b04c89521f35e2822b74991f8d87b17eab640f"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87362b6d81350c9b926985291f2c89c222c47f71a3c943db50d6b30de4fabfe6"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ecd36eeb958014ad2e9153de4bfe56261a310527b4ccf04abf7e96edc538c3e"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c7d912c2b11e7467f04eb1ad8c7fd411bbeb3a86e3c96dc7f8fe55dd8b62f03"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87d373f2ff5eb2fc35beac01ed2c1431450f9761cb6ec1dd0bf5e9f9be6d0726"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb00b9de82f2b141cf361e41f5fe68b18844d2f331bdcbfc528525749ce6bc5a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7a4f23596e510fa53d9272a43eb20afe07d83b68e1d7175f6f1d72b8f873b46"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6430c4f750dd7ff63a6ea0c77d2ca5df5f00bc5353ea43edf960e4d203a42c37"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97db11412daeff3de74aa64f396aa5905609d16adf0fe8f10649fe3c661e8461"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f57d40872e8a9ece2423ee6634fa709da1429c85adaf2a1cc3d2f09b109a63d6"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06f4e86d00373f0919351862d488d56143e06df7575d230f4f9971841ef690dc"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba831e8008f54eef34c69d23d60a7349db4fe946ad38a09b1fb71d5742e890f1"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"2.0.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e08469108563d1dee8c0df9758e053d631380eccfe18ff9a7a46a7d37b53ce3"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.8.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.8.15","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9daf045ebbf9c2ff525d676cdcb8eaecfa7d0f0b1549ba8cad218b7b70ac24e"},"properties":{"dependency":{"package":"undici","version":"7.25.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50fb1aec7c3044303e0012b944d9ecb9d2db6dd856e4cc53aa747b03aebe7e01"},"properties":{"dependency":{"package":"adm-zip","version":"0.5.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.6.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d05a1a6ecb9a27847e5bdab23f926c0b46aeee292c4a68fa65317e5f37d543b"},"properties":{"dependency":{"package":"openssl","version":"0.10.75","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"severity":"high","fixedVersion":"0.10.78","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"299db4fd82d13513b8c8308c59eb648980d2d3a8a076492c49ab6494817d5fea"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0037","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"severity":"high","fixedVersion":"0.11.15","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6f9e1b666162d287936a78ced130c13baf64f052a0c8729446d5a4c12647c51"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.101.7","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"high","fixedVersion":"0.103.13","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83a4770935a2d6dfb7b11847e65d454e8353c1f335200d65825cf85cf0f3f85c"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.8","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"high","fixedVersion":"0.103.13","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20df7f5513bfd99de6494856063f7eb62dc1355b0d8425acff542386563d20fc"},"properties":{"dependency":{"package":"undici","version":"7.25.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3e7645197964839c582450b1a9566e4e1c3c4228be8d32c44d0148ed569a2a6"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.8.13","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"severity":"high","fixedVersion":"0.8.14","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-91","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eabe50e921d2c2a306c1659895f52c11083f6a9b5afd9baccfb22db496e06e7"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.4.0","relation":"direct","declaredRange":"^2.3.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"299fe21dae01def4f46512fc8db549201b5c19db49ed51453b1b71517a9ef518"},"properties":{"dependency":{"package":"langsmith","version":"0.3.87","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582","PYSEC-2026-2583","PYSEC-2026-2584"],"severity":"high","fixedVersion":"0.6.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9e6f02139b950332390d7aed7b19d05bcc6dfe2bd303fe719d351f9e3227028"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"separate-copy","declaredRange":"^4.4.3","reachability":{"kind":"production","file":"agent_skills/calc_tools.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d57dc5bb1d894468630324a84898736d550b8013245109cbef7a4e843e320f5"},"properties":{"dependency":{"package":"langsmith","version":"0.5.25","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582"],"severity":"high","fixedVersion":"0.6.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ac7e4fc946bb3706acd0f81c1dcd621af46b7d1ade09f7cc6e4dcd9c55ab36b"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.35.0","relation":"direct","declaredRange":"^0.34.5","reachability":{"kind":"production","file":"agent_skills/vision_model.ts","line":3}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ccda73bd0143d5fffd3dfb7039e432d604944b26bd87c7e38e3f0435928ff6c"},"properties":{"dependency":{"package":"ws","version":"8.20.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b0369d58af25f6326b950fc7965a34ab2f0d156127cf246b2934b57bae4a6d0"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"direct","declaredRange":"^4.4.3","reachability":{"kind":"production","file":"agent_skills/calc_tools.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9d3420013408c02fcb256fcc7b3ac67e5f2b78ef65043b9e7da5afe5da9e2a4"},"properties":{"dependency":{"package":"body-parser","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.4.0","relation":"direct","declaredRange":"^2.3.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"019740c5e9bdf54434de42bdbf17673ced1342eeaad54fc976407c0d634c038e"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"direct","declaredRange":"^4.4.3","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2263a75da41737bd41be73a206bdf4145a5cf182e4ae843b420ad4dbcb950cf4"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b71334b3b0d2f915e5f69ffa1d66f49f3d4bc2fb76057429c415c0cac2680256"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aabc7018a313906e1f9c5012f33491698dcb738f0826762427e7522476e3521c"},"properties":{"dependency":{"package":"bytes","version":"1.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0007"],"severity":"medium","fixedVersion":"1.11.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10c70da956fffbfa8939ba2a2ec3ab31abbf4daf39cf76b56d4e951605a59917"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","severity":"medium","fixedVersion":"0.7.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f96a7672d98f6657a9dfffabbc26d215d2be5516b92d808cb45ddadad0d86b6b"},"properties":{"dependency":{"package":"h2","version":"0.3.27","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.4.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bbd6738ea1bb006b7a3f3835a82dd946f6fbfbec983f5eb749807cf3e62cec7"},"properties":{"dependency":{"package":"h2","version":"0.4.12","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.4.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f04d8eeb75d506e378573a3890855a0fdd63aff4546cc5e7b0ba37519f6175af"},"properties":{"dependency":{"package":"jsonwebtoken","version":"10.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"10.3.0","relation":"direct","declaredRange":"10.2.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1e229d7fbfdaa668c101e458f9cc8b44b62dd04e845b8a9970e89b1ae0d9e2e"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.27.0","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"severity":"medium","fixedVersion":"0.39.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab21392a5b293f6c07969f7d27f3c4e57177eae2cc47dc876da36c1cc46f45a4"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fbf2cef360811c1beea3e60228df9e51395f2f42cf9ee8af305189335d1e886"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8a8b09c06cbe74bed0828d5d4fbb24f8030d0654bedc4c3bf669d89d569f307"},"properties":{"dependency":{"package":"proc-macro-error2","version":"2.0.1","advisory":"RUSTSEC-2026-0173","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30c45ae501df07b34b6ab78ba433a4a7d43a99de7c57de878dbc4bb95875b498"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.5.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71dd62fa94c3129f1aabbedf0682ea1879ad8ea13d06eca01dac6ab8f7729b07"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.8.6","relation":"separate-copy","declaredRange":"0.10.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"209145ea6a8e20bf9d2357a10d440f71cdde0adc5a81908a4592f14a13e55418"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.9.3","relation":"separate-copy","declaredRange":"0.10.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7be0bafa0ee8ecf51668785181f39ac0fdc820b54e209da507091ca41fa2e250"},"properties":{"dependency":{"package":"rand","version":"0.10.0","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.10.1","relation":"direct","declaredRange":"0.10.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e19de5b2dc25f916b084ada74e123ecbeb28f533519deaca8b73d28b9c0e77b"},"properties":{"dependency":{"package":"rsa","version":"0.9.9","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"0.10.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f80cf9530fb09f2a91511f9bb0f6c1a1c73b522b15ee23e57f1637c27f4ee2a"},"properties":{"dependency":{"package":"rustix","version":"1.1.2","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"1.1.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a205c7056dcc9866d86af358c9b41f9f4bdad97c553229c28dda7e51f7af4aa"},"properties":{"dependency":{"package":"rustls","version":"0.21.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.46","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5eecbe0ba112581d626c55ec9f0b2589e1c0adc53009150d36cea15c1f5a2869"},"properties":{"dependency":{"package":"rustls","version":"0.23.35","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d613ac0330a11e406d28c564a4434603b8241a979a1e312ef28eb012a414c3d9"},"properties":{"dependency":{"package":"rustls-pemfile","version":"1.0.4","advisory":"RUSTSEC-2025-0134","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ef21c689cd7d09040148fdef49f6a8afc21509feaea0e550e5101ca7d901329"},"properties":{"dependency":{"package":"sqlx","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0363"],"severity":"medium","fixedVersion":"0.8.1","relation":"direct","declaredRange":"0.7","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd7ab49692e774460eee730d7f76a1c4e129fcf113c75d31e0dac7330334bc9a"},"properties":{"dependency":{"package":"time","version":"0.3.44","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0009"],"severity":"medium","fixedVersion":"0.3.47","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c959b8dc3c19949b8829de08ff8699e368253a04c047625940658fb7d8280d51"},"properties":{"dependency":{"package":"tokio","version":"1.48.0","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.51.6","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d9d1417486037f8038c0a80956d272a8e6ccf563b679c5d5b57291d3007fa4b"},"properties":{"dependency":{"package":"webpki-roots","version":"0.25.4","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"0.26.11","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a298746c2a35bf9adb590b53edba22d5df07acc634c522fd76f4c0e4110c226"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.4","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d4df4806c3fbf1d9135de15a74cd108217c21c93bfce4931588a4a2ad629547"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"6.16.1","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5a892a1edd84c8566d75cebc89a88f9fbeec7e9957a58f18bf89c69763afc81"},"properties":{"dependency":{"package":"uuid","version":"13.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"13.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98645b36f3d8a19e1462b10ae8d23a6853b810993981c4fc4065e762fff2771b"},"properties":{"dependency":{"package":"qs","version":"6.15.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac95f3463ad75697b544fd67861ad9a9aab785faa4eeb5f3a5f14d075b60d187"},"properties":{"dependency":{"package":"uuid","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"f8cb72f2b7f832937e41f9e4eb464f8fd4633356c97715c5ccd8114acec28921"}},{"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":"de40c77197c9448fca1da1f8bd6359d1169c00298ced54b04dffda689dc454e1"}},{"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":"a662c84df4566b4e23dab1b80c264da6ff29b58fff039d80206845283acb24bb"}},{"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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"8d3d7193039db203990c19a8d31c7957c1a45812f6c2486b9a282448564761e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"6bcf746c07c253f0e2d56cd59dcf958f678f69c4a71c1bd65a35e1372477bf85"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"b22ff6644e1eb15b81968dd071c6309f5c836e4d84b4e8b4eab13ad990826206"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"b9c7c22990637edf47636a5fa885aa53b276462dc8021e1d4caff0a9a008186f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: db_tools.ts \u2194 index.ts: \u0060agent_skills/db_tools.ts\u0060 and \u0060src/index.ts\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00605811a2db\u0060 Add SQLite storage, storage facade, CLI, and docs; \u0060b9e568de\u0060 bullshit conmmit v2 (at that commit the file was still \u0060agent_skills/supabase_logger/db_tools.ts\u0060); \u0060b7ca4837\u0060 [feat] (at that commit the file was still \u0060agent_skills/supabase_logger/db_tools.ts\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a4e0a0e4ef3ca9e0c750c6fb1763a315f2e8abcca14d6ceaef692ccee6bc28"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/who/WHO_TRS_916_2003.legacy-404-error.html"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3a53baa40d3af409af42cbc92b7ae763990d552f12c70f5345f73176a16c71"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v4/who/who_trs_916_2003.download-error.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddd99289ec3f80d4c36aeeb7cc6d0611688093a72d398906a70e48ad8ef8161"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/r2_11/paho_complementary_feeding_2003.download-error.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496cc10414af5f9f94371b043befbf397f0822700c4d6b1c5c16cdfa8b45e1d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/r2_11/paho_complementary_feeding_2003.download-error.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"369a71451ce9f4603966772f2d05e851548cf7b65b1d1ca82a39a94f5762372d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/r2_11/paho_complementary_feeding_2003.download-error.html"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9537fb0d3b2564e68f6d11c32fd509d8156d7fdb4d0d76543d239ca87536d00d"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/who/WHO_TRS_916_2003.iris-shell-error.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f28d9edfb5ed029597ac729b231822e95c475657e78997190a6ad68df437dce"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/who/WHO_TRS_916_2003.legacy-404-error.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77d342ddbd674e7ea8146d20b8abc0ec843efa597c0a55f5a44ac1fbe58050f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Multiple navigation landmarks without distinguishing labels: With more than one navigation landmark, each needs an aria-label/aria-labelledby (e.g. \u0022Primary\u0022, \u0022Footer\u0022) so assistive tech can tell them apart. At least one nav here is unlabelled."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/who/WHO_TRS_916_2003.legacy-404-error.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd2035bdc40fcd9f4eef17df0c58fb68eefb42dd4aabeb4b818f46773508bc3"}},{"ruleId":"AC3","level":"warning","message":{"text":"meta-refresh timed redirect/refresh: A timed meta-refresh moves users with no control or warning. Use a server redirect or a user-triggered action instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/who/WHO_TRS_916_2003.legacy-404-error.html"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"778dfaa26567d890787930577d2b5d470b263277f27dc739b141ba41a818f9d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ca\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/data/sources_v5/who/WHO_TRS_916_2003.legacy-404-error.html"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4fcf18de1a613f071dbd74cd48cd7d89fede3f4d570609af2c6113ccdf643d"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects experiments \u2192 src/shared \u2192 experiments form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b33df870ef0b43c8e10f732194757b8a8091984411d01b66fef650fcc24c06c"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects agent_skills \u2192 src/server \u2192 agent_skills (one cycle inside a mutually-dependent group of 3 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ef0d08f9c3cbcb7c98b63baa1e578862553602869aa9a35888da8a199eac8589"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AppStorage (17 required operations): \u0060AppStorage\u0060 declares 17 required operations: \u0060ensureReady\u0060, \u0060insertChatHistory\u0060, \u0060updateChatHistoryReply\u0060, \u0060upsertChatRoom\u0060, \u0060getChatRoomSummary\u0060, \u0060getUserProfile\u0060, \u0060updateUserProfile\u0060, \u0060getChatHistory\u0060, \u0060listKnowledgeDocuments\u0060, \u0060getKnowledgeDocument\u0060, \u0060findKnowledgeDocumentByHash\u0060, \u0060createKnowledgeDocument\u0060, \u0060updateKnowledgeDocument\u0060, \u0060deleteKnowledgeDocument\u0060, \u0060createKnowledgeIngestionJob\u0060, \u0060updateKnowledgeIngestionJob\u0060, \u0060getKnowledgeIngestionJob\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/types.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"028525dfbc9f302acb7963865bbc234f5e1aeda8409dc3b24af760f80fae0b95"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: diet.yolo_handler calls \u0060std::fs::create_dir_all\u0060: \u0060diet.yolo_handler\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::create_dir_all\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43bed28a87d5cfed52936ad3b635ac4c594aa47c44f2951c5b67f65381200d5"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: diet.yolo_handler calls \u0060std::fs::write\u0060: \u0060diet.yolo_handler\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::write\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff071a8c9afa95c78bc564d5729253c8ec1785e84e98fe85f53d3661d7bb733"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: diet.yolo_handler calls \u0060std::fs::read\u0060: \u0060diet.yolo_handler\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"908b4222aedec9da9151671cbc7badf299778922ed4d25bd1c4be011440a3821"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: src.main calls \u0060std::fs::read_to_string\u0060: \u0060src.main\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/main.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8e51e13a5f17e4c3859042094d65ad2243c711321f974ea1a52a3b08aee7c3"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking call on the event loop: test.setup_db calls \u0060std::fs::read_to_string\u0060: \u0060test.setup_db\u0060 runs on the async event loop (it is async, an actor or framework handler, a hand-written \u0060poll\u0060, or called from one) and makes the blocking call \u0060std::fs::read_to_string\u0060: while it blocks, the loop\u0027s worker thread serves nothing else, so every task, message and request scheduled on it waits \u2014 and a blocking wait on a future that needs that worker can deadlock. Use the awaited twin (\u0060tokio::time::sleep(..).await\u0060, \u0060tokio::fs\u0060, an async channel/client), or move the work off the loop with \u0060tokio::task::spawn_blocking\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/test.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7709cb5602176c3d993ec4dcc0fbd19fb5275ab342c101885fd97c841124fd13"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060classifyConflictRelation\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/classify_conflicts.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d477f48cf501bf4c61df82cd27c10e70b5bcf33b7a849b725af031ecea943a"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060deploy.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060.\u0060, \u0060services/yolo\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85d21d9222ad16f610aa011ef143f55c451ef9889f49579a2ad68c3a11a5597"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_frozen_answer_generation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a63ec996c9263551d9bd8e391eba97bf9f8aaa7df2e7ec383477ad6e7a1963"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_posttest_predicted_graph.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d42e2a71173eda0f32efa1b443dd867d0c1200f947428e449afc8a83c038021"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/verify_gemini_model.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaf2f9c560ebd68f8b50baecb0a7ae2d7ac909cbd84c9faaa9f1b59cce8c644"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9044636157199e6fdfc5716a7cbfd0eb377436f83bfb3f322a16c4e99a96d261"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_codex_mined_detector_validation.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c107e8e861f9d8e459d10d014160674f517ea36feff2942a9fec276382e3c5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4202aa4a7baace8541824a673b93fb027fca799868839cbbc97eb8373bc735f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef284730466d37a5b5c609617ffca65e221379e74968b4c1c6594f865d2bdb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa35e6a6b0b3e63171c289a66a77c492cc294130ca18b7a54d3cbb6bf587eb4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7abf62ac30874d7c15ae24a2553a913feb23b669949929e94d22ae301346ea"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a424a133285f80c1bb0e8aa00add3cd317d8333d0c87407409c488b700058ab"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"600f45091dd4c3657c14f1e4783f8ceeb9d483c692c02e2ca260999b0bfe4bd6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"739264d12925acb7e5dd2c34848a7d9dff407b6c660c7688d8c4ef14dca63603"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe4f55573785214e99daf554f07c151c9a665802aa87f69c873915b2986f56f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_approve.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8905a9ad1a0f7a70aaccd4be27c338db908379f27b405e80fc005527b5249132"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"366cf8746b1bd4cf719aebd601d4d465b30007730305fa2ca0958025557c3e74"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7684a6271f483747345740171d62dc9c1eb27e63439e49d688b825b32898f7ac"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9d535ae8f6c89b7da2a14bf305d87a82d4f01378a5eebe9428a0a509b3044f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa87ab434dcb811e9b20c02af9b5d505e443530196f48e4e73c2c8e7f78c540"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"78df0451725b7cdc694fd548e4029bf939f8ace4b9192786507570729f902a11"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/mohwNews.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32e4c1b930a595683bdef88c06d04bfa892d712545ad453e69dd0d706c9b851"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c987b0b1dc4cf38397914f9ba597083e76e464e42c14f862a5660f2b5f1580ca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bce63dba4a7c694ea157bfa964b397890c07a649c332f1c7566dd1e0dfdd58"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b67de14a15d19b615cfc783d74582ef6db9a21405672c64119e10daaf79c4a0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6fcab3c1e04ea8c164e1596e128175a12faa15f04eccf6d2d21f434d2347a0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30184002486ebc304a49b0b432a2ef377a2f79bfbdf2af23f9083e63c4d903e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"be863848baf823da8e4c9adcdd0be503db38523e8c77d31ef5801c1ab587b19b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/read_workspace_code.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8189228ca7484e46af58ee6567625a1396c485cff220df88bd17eee4c8778d5c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/read_workspace_code.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d592ade9de94e78c68186cdcb5261d15e6c738170ca57abae1518b5a65a146e2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/versioned_guidelines_tool.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"738d81115ccd0e78d2fce9be5cdc3d5f64523463dd7a9b9ae18f2e97ffdfd9dc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to tool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/vision_model.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ad6151e104179cc7144b997a7f22ee4ced16e59fe061963abfd4f513e7954e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060parseSplitQueries\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d490449d58cb3f469cf7ac213b0c6a6c315ab85363b961e4919ea02c190ce8d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"573128ee283dc517e99a8f676b2b2e6e325be3fbff049d3ae354a391f59214f5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b043775de62e3b419797b3e69a1c9a3e58c67211be4dd391be100f855aeb07e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"637629eb49a2654fea15f2c681611456af32a587c1c2d32c873020c99d4c9f72"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e894d577de97d2749d5cca313c0d64a86ab3483776b186abea2242c3a604b90a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a40fa2c8f73ff173ab04c570854b3043e7d0bfb5017b04ac04f6486bb54065e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf707a6d64d5cd960919c85cd2e8135af82a48ccc40b4b61cbff8c2778b67595"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4e2259d88eecb8059af96b7dc379050f452ab69c524f139a524001d38c34ee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf644f4c3fa85339df3f330a15db7a9bb7c4a1012ab322e30f13851df86c052e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b857b81bfcc1964279e4d08f65f0fdc85842f559f230dc72b283da0d6837a19"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060compareRecencyAndOracle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea1ec72f86576a2332128967ed5c655f16b87dd646dec3418a3c59bb9d00500"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3299506a772e2036d557d58bcbd43ad16195fdbf10746f6c82dec6e59360b3d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab0428eabad1dda5f8177d169f925f2bcb89b8171f5399f72567dd523242579"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b929f9751d29eca7cd5292767b1e20cfd4d34bf322a84a00b72b55279a6322"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060parseSplitQueries\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0c5f35a0b57ecb695dd7a4d27c0b80ca5d812697560cf1565554b01987b101"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ee5898e59fff64596f2b18fc14e6c270ebac33bd4005f90e1f2760ace63be9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b4022fe6635304685aa03f42d401ff6fa3b2557c063811ed3f5df812e8b507"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"898d679febabbd53b5506dfdefff082f4217ff4f717a4db4bedc5b8da0640ec5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060runOracleCounterfactuals\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"db98b6f6d06ff5bc786ac3ef07780c4dedba46fc83eb4e0476868eece211d2f1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e660e68cf534d36e05bbf505f487d24525bffb41be5f8c358f3d7aa4e9f60d0c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8ac016e9e3a57cbf08f1ec360ee6575c223b26448206088987202661164679"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1566c16e892894cec7e8c9ba17eb5dde7209c1d6e20d769636c215db207255df"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060parseSplitQueries\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f959466e060394782d24c167c956904983694c5f5229eb31d7ef8f7cae0cbea5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060traceTestSplitPosthoc\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e21173ec057982758b14a1871cc4ee8862061a01103a60088c0fc365d504a0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ce689014e6fd053aa1c8204a5e2951063a1dabb3edd339217213478696fb1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"884849a0abdf966565043f5816fb8d1fa669993356bfb58612b22c0fa82717ac"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ff64a4f085f4bf275c58d9991d396169fb2f6ea0b493b661c8a9311b388f56"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e338f323f506d15f06ac897fe00cea7fd81c646dfcb95462558c3fd7d37d64"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060traceOracleRetrieval\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"95320042b5130b8db4f053a7c961eb17ee63cad1a1ea1310be6f389f3cd91d23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (34 clone groups): 34 duplicated blocks under experiments/version_aware_rag/scripts/ have copies in at least two of the sibling directories diagnostics, v3, v4, v5, v6 \u2014 31 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 34 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 34 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 34 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/prepare_v4_devval_sources.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8493b4f8b8460cdbfc70860944c77a8e3161b4fa558cedfe6c9911bdc917c63c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (14 clone groups): 14 duplicated blocks under experiments/version_aware_rag/ have copies in at least two of the sibling directories scripts, src \u2014 10 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 14 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 14 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 14 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a094af19d0b2db4bfe64189ba951ed07123d22fa59d32eef3e45570771e8b54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (9 clone groups): 9 duplicated blocks under the repository root have copies in at least two of the sibling directories agent_skills, experiments, scripts, src \u2014 7 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 9 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 9 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 9 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/conversation_summary_tool.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee8ca3a19a9a696be86e04ddc9a3c2f7c49d4811bbde5c7940d07974dd0678"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (279 identical lines \u00D7 2 files): experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 279 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db0bf04d4aab074bdb649001f008b5c0ff05484143f43f611b57fc01aad5d7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (201 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:39 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 1572 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7468b5fe7c5d58fd8ff289c2faa7b7a0621c2ec4ca00a46327e88e164832e169"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (173 identical lines \u00D7 2 files): experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 173 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"605d7fcf0ac55633f0ceae48dd47887de609b3da40d4e7db56ad7722d8d00512"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (168 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts:41 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts:130 \u2014 the two spans are one implementation copied and then locally edited \u2014 1216 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5e11bb2b5ea7329c045007c9453a642b40c898a5202ebd5de7106819398df8"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (164 identical lines \u00D7 2 files): experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 164 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9011360ecb55f4afd2a32cfead69ecc13a1d4a5f7a1435266f11d78730d779"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (163 identical lines \u00D7 3 files): experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts:7 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts:7 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts:7 \u2014 these 3 files are line-for-line copies of one another \u2014 163 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e49d9ee6b17daace9a56b643748b5602d902390e1d8ccdb0825bd0e915a843"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (154 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 1544 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6eb3a420c13cad4669ef5cf93f2c806826a7736adafd3e65f9b9892acc5566"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (150 lines \u00D7 4 locations): experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts:91 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts:80 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts:80 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts:80 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68f29c78b8c42a3cbed6d6367f3568048471d0494fd6eb2ba6d44b0c0d45546"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (148 identical lines \u00D7 2 files): experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 148 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea26d51e0c977dc598eff9b7569f1e3dc8fbccb53f51fdc1e4acaa0bb19886a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (130 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts:30 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_21_lexical_weighted_rrf_diagnostic.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 1277 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d7dd25d052b9545ffb2e1213fff258fc8e6738ab4052bb8bfb21214a168b22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (111 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts:13 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 908 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"122ae4fe356e75801d45c522964b68f407dc6765c5a5a0c819acfe65d20d148c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (92 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:29 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 1527 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff815161aef2a13e6072a62e3cc8757f8e8cde395736559888b6cfb21298468"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:78 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:101 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e9c35f464633f7faa1c0879511e12581516fc7ce5b0252c9f920e40ccd94ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:387 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:388 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f22ab9171f807726e35751147a9f8d7cd52626ec820788fc92a9e639e56151"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 570 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c72ca23f73280bbc69c4aa00ae28a58dc698e34ba0c91610df651190988de3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (70 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts:39 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 450 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed9127ee3ec6939c9ddc9d63c80f02ceaf173a238c38ee157c8ee09d1d452c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:41 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:40 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b584d52918c2527b9a2a03afdc2c22e5d7711fa25efc1ed1a6677c142beb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:514 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:504 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd309bf6366cd305a5beeea87f1138e3095ecc1ae7a868ed37c5bd4ba5b5e361"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_13_top3_diagnostic.ts:33 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 334 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_13_top3_diagnostic.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8591d71203467cadf626c52dd0d8c7bb46b7a2558cd138bbe6d70b9431096ddb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:116 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:129 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:151 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb561fd020bbc07d595f4949b2b5b8c22652a878c8cdd0c0987dbf09a63c69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_16_annotation_authoring_plan.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_20_annotation_authoring_plan.ts:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 477 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_16_annotation_authoring_plan.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf052a337f5b24aabc5b83eedfbc98bac3a8d8c54638b89c65a3750cfef68f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts:78 \u00B7 experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 704 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf19039c8005793badd7226f874c695a2fb639495ee4feebfe14e55768dbee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_7_preaudited_cross_version_split.ts:266 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_9_retrieval_validation.ts:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 614 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_7_preaudited_cross_version_split.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee180fa546bf0e2b3df92fae65e740d515414a7155a41aaa47b999e324af0c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts:54 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 336 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24ec12f10a75a8747442127965ce28c110a0a77572974137fc3b617ca6499cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): src/server/knowledgeIngestion.ts:94 \u00B7 src/server/ragDocuments.ts:93 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"696bed63738f743f650c0d420722054f991cdb49f61a4f70ad3bf5c29205e34c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts:17 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adf8dfcc15d7f407a7b3261ee2b3b7b0a47db63756b500f4c10044ef5b10781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/bm25.ts:42 \u00B7 experiments/version_aware_rag/src/retrieval/dense.ts:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 335 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/bm25.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"196c99ad4c3d5e69b2fa478195f80ed56cbe7f33be492a5211590b3b615e9e44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 4 locations): experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts:36 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts:32 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts:32 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts:32 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2215861622d0609390bd7985ad42d3ffe6b87873d96b7fbcc4517bef9e56f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:603 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:593 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c91a5e9f2a413ced7eaba398a57fe1371b25153f7e7807328142f8c4c66ffb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:119 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:129 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:130 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac736a80296bbe624ff69df468f06871b912cce2882f96e7dbe3cc76ee3677bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:10 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44b8d2276c7860c418ae9a10c5451d4e77d7f345b99df16a35462e747d77968"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:92 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:109 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b88a85943a93d195d80d5e61dd733dd5a9538f5da330af7cf856bf72438d8b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/apply_policy.ts:35 \u00B7 experiments/version_aware_rag/scripts/classify_conflicts.ts:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 339 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/apply_policy.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2cf7f30784bd076c6434a3ba8bae38add5ff9e5b55273934df896ed7c188c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/build_policy_graph.ts:24 \u00B7 experiments/version_aware_rag/scripts/v3/classify_relations.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 276 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_policy_graph.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"357ae09334f22a3270a3558af98cc2dc6d62a9f628cd4f931ea4cf695f316a02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): src/storage/supabase/adapter.ts:205 \u00B7 src/storage/supabase/adapter.ts:261 \u2014 the two spans are one implementation copied and then locally edited \u2014 387 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93e3de0eb44cfec7be12bbb501bc17b5dafb05a977d191514b8c4fc17b1092d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/review_r2_16_candidate_groups.ts:59 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_20_candidate_groups.ts:104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_16_candidate_groups.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fae239ebc6c8ee2082f6d7c68a8fa6b17d29d688abf5ad28335abf41952d93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/prepare_v4_devval_sources.ts:123 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:116 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/prepare_v4_devval_sources.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ebe7a30b36210bc5a8d7eb227094434cd215301b83d383075aeec0d732690"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): agent_skills/fetch_web.ts:161 \u00B7 agent_skills/fetch_web.ts:226 \u2014 the two spans are one implementation copied and then locally edited \u2014 203 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/fetch_web.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7300c77fa096b58f7e693124ceb2f3f41f368d9339f464f82a866ebcf8ed12b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:238 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:430 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b392e6e67719a758c7c5135dd5788baf533a2d0797a2ed0737a18e255f5cce6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:85 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:91 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:92 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec70188552ebd8954e5bc115aaabb7602cd7562c12d05d5ab094ea21c42bd65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts:149 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_16_candidate_groups.ts:62 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_20_candidate_groups.ts:107 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc025e1e1f1fb02ebc33d02b131a8d011d1ffba3de48a01f13cdcccb68ed7e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:163 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:175 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:176 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75d02d8183069a2018daa14699cf7423398b9bca8686f1df8a1cdb5dc389487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): experiments/version_aware_rag/src/annotation/r2_16_confirmation_schema.ts:5 \u00B7 experiments/version_aware_rag/src/annotation/r2_20_confirmation_schema.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/r2_16_confirmation_schema.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e168c95b2b88927016a632983063113794bce34219476b1954e836731435b808"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:324 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:377 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:406 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bca7aa21a1c985b409f409051c7db9001f1f4276c50c8ea95c0e791e2f12624"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts:331 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts:144 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf52841f28c685625c849c021986c9071a8e4ccee42cf5c81ff5d05596533de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): src/storage/sqlite/adapter.ts:313 \u00B7 src/storage/sqlite/adapter.ts:354 \u2014 the two spans are one implementation copied and then locally edited \u2014 146 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd246cc6e9dff27ae0d2b9b22ed8f8f98a447318eeb3f353fee4e09ae5403638"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts:11 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b30c86bbd6298db43aa03a3c1c9ced5632ffe008516da96a5eb51c32637be4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:5 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e38420e4ff7d49bbb7b643f60aec483dd9ca45e70756733a26ba30562cfb33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3 locations): experiments/version_aware_rag/src/annotation/r2_14_confirmation_schema.ts:5 \u00B7 experiments/version_aware_rag/src/annotation/r2_16_confirmation_schema.ts:5 \u00B7 experiments/version_aware_rag/src/annotation/r2_20_confirmation_schema.ts:5 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/r2_14_confirmation_schema.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce1c67dc92da296659606578e507a3f8680ab1695b4a3b6b9a0da3ea25f5db1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts:27 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts:17 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts:38 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts:23 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a9943449e948df1ff3cfec3a0a25ccf9473beff93ffaef637d95b88a648c55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts:9 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c87a00e32cb5adbd346b1c933d2bb9bc60d45e1e50a8f56bbd013a1f0f715"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts:83 \u00B7 experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts:70 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"708100eabb198439686c9e8007505fbf5cea24ce863376d55d08f2e3a754c407"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_21_lexical_weighted_rrf_diagnostic.ts:10 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf95e03e86c5afd9c93cb2a3dda70e264588662d106aac67b6be56e82780cab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:376 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:405 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:530 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e898c3bb7253d049379cca67df4b065513c992d7a494c79f1d1d226389a82b03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts:9 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09d5846968f19e7aff847340c4658fe6c85d67ba3af5f44cd00f6ec507ed329"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): agent_skills/conversation_summary_tool.ts:23 \u00B7 src/server/profileApproval.ts:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 153 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/conversation_summary_tool.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8cfcaba97476c19b4b277be7cf20a1e44232abb8bac21e5f7ba22aa3659622"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/run_retrieval_eval.ts:72 \u00B7 experiments/version_aware_rag/src/retrieval/heuristic.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 235 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1feecd3853d6d0342c0c2a73ff9015770a7299967b5660c2623bafb2cd9418"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:70 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:61 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ee8aba933af2d560312c0f9dcb55eaa0d120f84eef74876b06bcd3fec04554"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:350 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_21_lexical_weighted_rrf_diagnostic.ts:274 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4673e0284ade5118a17fc492154bea798b41dafb0f88083ade6dcc87453ce896"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_safety_review_packet.ts:6 \u00B7 experiments/version_aware_rag/scripts/v4/build_v4_validation_safety_review_packet.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 447 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_safety_review_packet.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"34babbee0737d92e27e5744e5aeac8f9fcec2ace44f18e02805ebb7a0fa467a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_11_artifacts.ts:40 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 134 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_11_artifacts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc4fa8d92608bb64b8f7884c960cdd4c0a2b6af69fb3c945ba7e818e5c7a747"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts:105 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_codex_review.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c572403febac5a4083e45619ba4163fdcfd6e42ad9278684e6645ce2b25b0be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:130 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480986455a2860959ea3f460703263ba897ef849100bc8cfcc6e40e1946337a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:388 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:251 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:279 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d490e5e8ccda4cd4bf5cca460261311139b68ee39c75c087dec911db6a4b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:15 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:10 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c74642e2a074b371c664e5f078a04714ed05125a0f44e3e780eb7c9f3978dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:122 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts:78 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:109 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5815fc4d4d7088eabe2c1198270e81f8829ba4c652cc5431275e28477b6f877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:322 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts:227 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7177a80545dc8c218a5138396bebe27d9595c3fe92d0a13aa57bf746da641"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): experiments/version_aware_rag/src/annotation/r2_12_confirmation_schema.ts:8 \u00B7 experiments/version_aware_rag/src/annotation/r2_14_confirmation_schema.ts:5 \u00B7 experiments/version_aware_rag/src/annotation/r2_16_confirmation_schema.ts:5 \u00B7 experiments/version_aware_rag/src/annotation/r2_20_confirmation_schema.ts:5 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/r2_12_confirmation_schema.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a68fea39ae2a8c7a2658072d33f30460d2c3f3f9d6f6a3079cc682b1a78a45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:15 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:20 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f844559743b5a16832f71dd2f48a967f3f859cb9a5e6c63e0faec3ecd2c1a9e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts:5 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a632787504f013459e7b11e51263ac30ba1af2f93865e072dc499d36c3dad16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_answer_eval.ts:38 \u00B7 experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts:100 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_answer_eval.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceb368ceb276a15d5462d0ee34aedd1a51a2cf565486d832bfa5fba40522491"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts:738 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:90 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98592a022428bb736becf2945e44d12c37497cf2b2993793f54bf7c445cefb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:19 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_11_physical_activity_owner_approval.ts:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3538cbe46bcb461136f3271d48e2d7cca1ceb37a9b7090ae92239c7f22066da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_19_neural_hybrid_diagnostic.ts:71 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts:107 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"942e9a90a58449b8a8fdfceff8e64972adf7989fbf36e3048c8d0bbbb14b4904"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:337 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07bff2b11aafbce39fc45211d95221470176a29b07a054560d70ba209a88457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_19_artifacts.ts:42 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_20_artifacts.ts:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_19_artifacts.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ade144ca93b15efbdf4b593ece892126db683b2f4d275c7c84deae93fc56abc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:204 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:218 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:220 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f274702c9d67b9cf9a4478c8f3ba86bbe720022baa2439059b6984cd5d7ffb8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:79 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_19_neural_hybrid_diagnostic.ts:169 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02621a885b0473f82814625557818acfbfda41af7daa550adb14074ec3998b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5 locations): experiments/version_aware_rag/src/annotation/r2_11_schema.ts:42 \u00B7 experiments/version_aware_rag/src/annotation/r2_12_confirmation_schema.ts:10 \u00B7 experiments/version_aware_rag/src/annotation/r2_14_confirmation_schema.ts:7 \u00B7 experiments/version_aware_rag/src/annotation/r2_16_confirmation_schema.ts:7 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/r2_11_schema.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e832d3576a2dc86c362cbe51d43e802c0ce5b66cbfd5d99eaea3e35733e121"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts:88 \u00B7 experiments/version_aware_rag/scripts/v4/record_v4_safety_owner_signoff_and_freeze.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 115 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e713f1f2a0a71ac1767a8eca646778ea9f9473c9a2263d451756a6e6980b1ed3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:66 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:65 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:66 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6348e80556141d4eea17dbe9c504fd8ad86c7428e5c9d435676e39eeda10ec92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:176 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"af835f05b54008cae446466a0bb1389ca5bcecfc5673d1f408b3fc5fea979daf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): experiments/version_aware_rag/src/generation/answer_generator.ts:129 \u00B7 experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts:181 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe06557eec8c7c43aa942b067ff9de34e1b211baa7f8be0f445719463dba177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/hybrid.ts:63 \u00B7 experiments/version_aware_rag/src/retrieval/recency.ts:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/hybrid.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb034445d46c0012c191481a61047d7cc2fb9b536c555145325b21f3233f006e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/server/agentRuntime.ts:128 \u00B7 src/server/agentRuntime.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e9d2610c0cb149090eacbc63058d2b9705e57de7f93f6adf011deece14d40b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/server/knowledgeIngestion.ts:46 \u00B7 src/server/ragDocuments.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce7e164a0a07d08ff0f055f84bd1dbe53154e0ac5db5ede1722246fe1fcd8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): agent_skills/conversation_summary_tool.ts:152 \u00B7 agent_skills/conversation_summary_tool.ts:215 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/conversation_summary_tool.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d208ec4a08a0b58a2598c0ef4cd8cbe99910c199fb2c31321d1992b962a23a7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts:110 \u00B7 experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts:131 \u2014 both copies are in the same file, so extract the block 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":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30f90595159d1ad87c50b8aef17a5f5c8dc11eb17a62e128c2a6318a02375f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts:38 \u00B7 experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:42 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7208a664eaccf5129978f729ccfa8f9fc928579bfb96a4da356ec4714c77b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_experiment.ts:365 \u00B7 experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts:68 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45dbb944a558a6f2ef582aceb2235d91a70e702c1a976a2546970c54e9fa447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts:171 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_9_retrieval_validation.ts:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad2c655fd1bd19464b07c34d61ece97aa26b25eac0fdb080589454327c9309a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): src/server/knowledgeGraph.ts:400 \u00B7 src/server/knowledgeGraph.ts:420 \u00B7 src/server/knowledgeGraph.ts:440 \u00B7 src/server/knowledgeGraph.ts:460 \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":"src/server/knowledgeGraph.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2bc306976d362c901d7d7844fcdee9495887cc6146849cd51233248c215946"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): agent_skills/vision_model.ts:17 \u00B7 src/server/agentRuntime.ts:110 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/vision_model.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a7a95776e8d3961cb0431ffffabc24cad168f34f3d0b13b70045312cd67c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts:129 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts:89 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts:234 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts:185 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5102b78bca0d054c72343c7f397f072854aeb3f1841da67ea9194381d1d5793e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts:18 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:34 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ee47996cfb0ac07957f4492935810794c5d42d2ad77e5ad5c72b454ad90de8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts:49 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_21_lexical_weighted_rrf_diagnostic.ts:86 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a810f497860003ee871fcbeaccbe03f04776762d682c0d6ce8fddbcd1240d956"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:226 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:225 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bc9094a7616575116acc18d2fa2ee9ebad491da248076a567e2def7b20f877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts:82 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts:88 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde7f0a0c8b6505ba525b83a75a4e75e922bc27207d46786bf125117a125f809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:224 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:618 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:201 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fe7c5df9a356c9ec371734ebbaed1d6c18c89da850a7172b6113c1a714d277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): experiments/version_aware_rag/src/generation/answer_generator.ts:148 \u00B7 experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts:203 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e56c0f8b9a25cfaeb63e4fb278fcad24466a7f74c7f70a113c7fc9bd0333e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/server/knowledgeIngestion.ts:156 \u00B7 src/server/ragDocuments.ts:496 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ae550baa4d10f5e25502ac641061b6cc719854d6d4cda6d7f9ebf55faa522b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_experiment.ts:43 \u00B7 experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts:12 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c233d53aa0b848f1844b8389395a64ece122b05c5548710f9e43e3f80fd3cd86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_experiment.ts:216 \u00B7 experiments/version_aware_rag/src/retrieval/heuristic.ts:71 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dfbd1040f3433cc5a0fef2deaa16a56f2359a4a2bc3c6285f82ff457031875"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts:218 \u00B7 experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts:468 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a66ae1c8916a68252a45f1940f06c4e0cf84531beb0d5bd2453fa2237e542f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts:74 \u00B7 experiments/version_aware_rag/src/retrieval/relation_aware_pair_policy.ts:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 144 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"56367b98674071cb8c770df76532239ff72f5a5a7a3388de954957d8fc453aca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts:11 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts:22 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:20 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd9a70bcda7841259e819df97ec30eeb9bb862e11b08a7362b7fa3c08b8e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_14_artifacts.ts:39 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_19_artifacts.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_14_artifacts.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e4bcdb51fd5170fb349d5c100777fbe6cfda68f0d3d5cd6bf3b8824f15e5fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_15_artifacts.ts:24 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_19_artifacts.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_15_artifacts.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ded24f4a2d5be49c06f6a1e84e58d92ea2a232d0b09ac93decdd5927c107fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_18_artifacts.ts:22 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_19_artifacts.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_18_artifacts.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d7a901cb4b0598bb4d5e4d89752b997311b6498d94faa996f325077cd6179b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts:35 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e812ee41040ae88a54ed4e17fe2894860681adf9e9288d99ce507c0f44bf492a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:15 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_19_neural_hybrid_diagnostic.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d914ea2b5fb8a11fa76cff756b3b74cb1a4d80af580c0a6d76638476007a8e39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/mine_r2_12_predeclared_candidate_groups.ts:155 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts:79 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts:87 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts:188 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_12_predeclared_candidate_groups.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db95cf73490ba2a638789f947debf881f845f8af62c866aa7ed201ff42c2f9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:142 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:161 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e869e4c8cffccde7b101d898e9b0a856b90cef94b5b6005bba4c9a702cdf9a67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_11_physical_activity_candidates.ts:1 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cf264269194414a5336e8d5920f08e1c5f546b17a63a25510afc2df416d6de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:28 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f5e6ccc20f62b7e3122a8455044e14d9a29b42020d03b08eb3caf903177eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:102 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:118 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:141 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf7665f51749bc5a3ee2e893a581508cd990daf9a5b62c60cd29075fa40f40a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/server/agentRuntime.ts:845 \u00B7 src/server/agentRuntime.ts:887 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"434834548d2f46cf30af345347607d63c6648f9cd63dbf842d5b25032c4abd23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): agent_skills/db_tools.ts:245 \u00B7 src/storage/supabase/adapter.ts:166 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb44978740a8382a04b927e2d712ffb5e76560432f6ff9bcb38e2ef086ce9d22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/validate_v4_devval_expansion.ts:8 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_owner_signoff.ts:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_devval_expansion.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"42be242b1efb449120750c4d27b94be8635de8167b09ba5acc68aa7cb3503d73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts:16 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts:11 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts:26 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"837473856860067eef0056fcd3fe243dc2f590e8dad2a73fdb428758ebe495c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_22_gpt56_blind_packet.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts:5 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 7 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6300be43d31bd30a0c3fa7803ac1b693298ab22ccb1fcdb291d7d42cd5ef2e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts:74 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts:49 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_21_lexical_weighted_rrf_diagnostic.ts:86 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d23ff2deb9cdb5444f21166b045e00c0d75e8c03af0eeb824cc7b1906c579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:127 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:127 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:143 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:165 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d15c3225142050f569a42157b355ffe6c7af0e886157f889f14110f43026e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:187 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts:129 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ea2c201de6f6587b9e61e97b4fff6c3ca8966507297fa65d977c9a541b02ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:178 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40ee60d2f3d50294ee73aa9cf1bd147582cfbe281af4c3cb133066a04b4fef1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs:62 \u00B7 experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45881f490d676bee0ea2dbaf8f6f9df832515d6ee72b9a0ff960675843bca86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): experiments/version_aware_rag/src/annotation/validate_annotations.ts:49 \u00B7 experiments/version_aware_rag/src/annotation/validate_annotations.ts:76 \u00B7 experiments/version_aware_rag/src/annotation/validate_annotations.ts:165 \u00B7 experiments/version_aware_rag/src/annotation/validate_annotations.ts:295 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_annotations.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e36519184d20169ff2e72eb17061bf161f5e9b2f51689acb29ab3588951aced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): agent_skills/db_tools.ts:146 \u00B7 agent_skills/db_tools.ts:179 \u2014 both copies are in the same file, so extract the block 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":"agent_skills/db_tools.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeb06dcad4e1ee845eaa59b39c29da5091f90f873135ea1e166833762284622"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): agent_skills/db_tools.ts:277 \u00B7 agent_skills/db_tools.ts: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":"agent_skills/db_tools.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae616442ac9351015c101d758fea5ff60d86c96d83062eff84743f48844410e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/compute_agreement.ts:15 \u00B7 experiments/version_aware_rag/scripts/v3/run_answer_eval.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/compute_agreement.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bcb601f767433e0a92dd3fb93c162c0ea30738eaf18da56d18d09be9151559"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:479 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:492 \u2014 both copies are in the same file, so extract the block 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":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f591138c9aa1de673c92080f12413b6d047184781b96d3977ab933fb7175c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): experiments/version_aware_rag/scripts/v5/build_r2_11_physical_activity_candidates.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:14 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:14 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:9 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_physical_activity_candidates.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3fd6541a85779b2397dc19eaf79e5aa4658b30f03d3f110c4ad0079e83d212"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:246 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:181 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:193 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:194 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2fc167521661cfb8c4763fbe2133ee587b737bdf56d5961933d415841c58d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:305 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:131 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:76 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts:299 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7cd66051f221c4ebaba557da21c677b16fcf703605591750d859126872a7de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts:337 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts:146 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a592dc2772a7588002be36e70dd4ce2c86d61af178f97b920459ced8724e01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:174 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:201 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef000759587c0ca6822b81f58e404bc02ee4c0e16d0072cd8ebce78b3f984f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/validate_r2_11_development_ledger.ts:9 \u00B7 experiments/version_aware_rag/scripts/v6/build_v6_exclusion_inventory.mjs:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/validate_r2_11_development_ledger.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fdefa3fa5c54c007b8bbbd384a1a7b48dcda69582a3767f77122c287b0944a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/sync-mohw-clarifications.ts:99 \u00B7 src/server/mohwNews.ts:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-mohw-clarifications.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ca3819ea54c0512ff2a22c8bba0ac5ae562b25bee34ce79372aa7d0a79286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/server/ragDocuments.ts:317 \u00B7 src/storage/supabase/adapter.ts:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e595685e0ef41b769b4ca3868757599d6f2736c554a6dabc7316580b292fb87b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): agent_skills/db_tools.ts:16 \u00B7 src/server/httpRuntime.ts:50 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d43a78f65ed5d52c6d2be8ff43dd31cf8f5da47670a471a4a1a94b177245c32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts:40 \u00B7 experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts:35 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0f9fe30f82ed5f2909a2b724f255c8858d74b642a82b8108040fb99bba901d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/build_corpus.ts:19 \u00B7 experiments/version_aware_rag/scripts/v3/build_splits.ts:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_corpus.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b2677d5b041f4f39f1ca9a5a7b9b2a9231c790775a8e089fcf7ac0c847ecb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/build_paper_tables.ts:9 \u00B7 experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67019a4fc80726668853127cab8679a282ebfdaba116997eda70a198a432073"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts:225 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts:161 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"078fa3bfbc75cbe5c9994ed66329d41bcb137bdd4c3e50d6ca32015075326c78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_12_predeclared_candidate_groups.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts:5 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"248fd754ad885ca0d5ad083ea99bb7394948ef34ebe9abd3218f40f3b57c5cb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/mine_r2_12_predeclared_candidate_groups.ts:133 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts:44 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts:48 \u00B7 experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts:138 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_12_predeclared_candidate_groups.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f75cea2f138b4eb25bfc48659e3dc7d2dc26b1bdaef1b0fe36f393edb51d32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:229 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_minilm_model.ts:120 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:228 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5855c210d0f72abbb7f4aee81f3e9210ad5085b51c75156a4e9329f5b41935c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts:142 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts:169 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_16_candidate_groups.ts:82 \u00B7 experiments/version_aware_rag/scripts/v5/review_r2_20_candidate_groups.ts:127 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b831cdf69ecc8a5467b7046bab72c6f2f34a9c1ae457a34d7ff235439b23a5c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:205 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d0a96b9263172cb4f7006cfdfa0fddc884c0d123f51e8c90e150be8c53990f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:53 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:39 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:41 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e426549c116a329a5913c253ee2cb243e363a0939b37d756628b89cad2d6a12b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/server/agentRuntime.ts:460 \u00B7 src/server/profileApproval.ts:3 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d60e8e691dc289eb62d447caa83bd1f3a956c9dbc4811bfa5354680e6c1ca76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): agent_skills/db_tools.ts:132 \u00B7 agent_skills/db_tools.ts:161 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0256d5f61f2e128b8eb1653e2858bd9b86dab5668a747ff45496f03c099fe7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts:22 \u00B7 experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccb5088b04834d59eefae92c612f0074fb062ddd1ff878139d0b06fa26aeb79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10 locations): experiments/version_aware_rag/scripts/v3/audit_corpus.ts:39 \u00B7 experiments/version_aware_rag/scripts/v3/build_corpus.ts:20 \u00B7 experiments/version_aware_rag/scripts/v3/build_index.ts:40 \u00B7 experiments/version_aware_rag/scripts/v3/build_policy_graph.ts:136 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 10 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/audit_corpus.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"76029a61d80f184581eeaca04f8caff38d1809db7f514f43ed4910efc4a994ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts:86 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts:116 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts:164 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0937f71d6b83dbc37ae9d0fe2fad6478d4049c239ae55ca2e1f100f7fbe4d899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts:44 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_9_retrieval_validation.ts:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f8a834dcef9d7e148fb6a28a85ba14164fc58d7980d217ecb7ad3e37d4f439"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_13_artifacts.ts:23 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_20_artifacts.ts:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_13_artifacts.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef13a73ee5ab0287abc574eda831de8868f78d4a8b2d4bb5ba67b877135d2c53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_20_artifacts.ts:47 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_21_artifacts.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_20_artifacts.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cdae4401a39ffee2ee65d31fa7d91b3bc73888366f4efe7a4a0760b3939fe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:62 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_11_physical_activity_owner_approval.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ba9ab1eb7d42f85ffd72f9349af35cfc0bf82f7a876282dd614dcb054d36a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:73 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:67 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd17dbd693ea052ebde1e0765706cd5914c0dd97e6d453081950645634c15eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:142 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:140 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:156 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts:178 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb50506cafac3b5c1e19a20da6e6ff87239d6cd4e0b180b2763c2ccf303b11c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:103 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:85 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe2da7c7a86e9eeef07819a1652a7e57aadb065413ef55fade28fd63cdae157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:216 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts:76 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7662e02168204641f5e6a77f68b27d50cac69efcda63ac7d1b10eda097517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts:87 \u00B7 experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts:140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1be966fbbd983d3e7bfb0b7448f8a8111e440a78381e2be655a2672a6bddce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/server/ragDocuments.ts:593 \u00B7 src/server/ragDocuments.ts:611 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1bc932ee0d4d6975017dad2fa9ab91e6bd9a2cc123294918cc38c56c79d65f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts:18 \u00B7 experiments/version_aware_rag/scripts/diagnostics/build_v3_reference_snapshot.ts:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac86be800bb8c5a30b6a15518b4235f268514f4e295c65e3333898068113080e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts:39 \u00B7 experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:53 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9aadf412240c8f346234829f62a6aa2e19fedaea74d794f02c63c6cded8380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:185 \u00B7 experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:238 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c72a4863b0468182a471a3363e103b4320494f837bbff591b890fc385696af9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v3/build_paper_tables.ts:29 \u00B7 experiments/version_aware_rag/scripts/v3/classify_relations.ts:13 \u00B7 experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts:23 \u00B7 experiments/version_aware_rag/scripts/v3/run_statistics.ts:21 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9adb3cd20bce61334506f01c3eed8aff2cd4f84b575dea5d9be6a87c263452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/compute_agreement.ts:18 \u00B7 experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/compute_agreement.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0640d9af5512a8f864e0a38027134b2275b67a1c8223af004df0f1c76c7eec44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/compute_agreement.ts:18 \u00B7 experiments/version_aware_rag/src/versioning/relation_graph.ts:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/compute_agreement.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6026f3904094bf68e7214c3a660df0b4a473602ccee14626dab2326fac5f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_answer_eval.ts:7 \u00B7 experiments/version_aware_rag/scripts/v3/validate_experiment.ts:3 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_answer_eval.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"11745a223678cf11ddda5c9c0ecfcc80df23d7f89d2473054ad7caac762b8239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_answer_eval.ts:19 \u00B7 experiments/version_aware_rag/src/versioning/relation_graph.ts:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_answer_eval.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda127c11bd0024f41dd8e886a02dbc4028da5f2a67e2830177969e4df111b00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts:105 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:466 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"da586286ed441c2baad09541d6a319204bc32725cace937166eb3aa3b2ef23db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts:119 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:346 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"075fad091aa8bb5a1bf9d564bea73532efe5f4d5a5ff4454437215f3c10feda4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts:774 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:565 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:555 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts:189 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afba2dcd56f7b5827ea70db603f68b5cf28db2c2a6699f5b0213ea15a5be675"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts:104 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc7def69193e3fcdf1f42f309cede729781eca321907e29219841cb0de3f9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts:26 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:18 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_19_neural_hybrid_diagnostic.ts:33 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"162d10333423859cc63177cc7f5f6c674ab2835773e9567e3ff43e5950c94a5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:50 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:134 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts:42 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:150 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"566ad55337a029d421d7b0a5d30256410a7379f8e37cdacae00233d5a8d9aff8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:60 \u00B7 experiments/version_aware_rag/src/retrieval/r2_12_candidate_generator.ts:47 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"909881fa0b96f245a10b7f59433f9e399b5e3b54b92d95def089270dfe93720b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:336 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:213 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:224 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts:220 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdebc54170b40f4fe46f8e60ae25a0961684037c938bdfd70e0b251c41eb0b06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 107 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3a0d35c487c61457620a2a0ae8a362b9d07d069db4b8acf00d05a701cf092a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:313 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts:88 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:72 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb5c04966856fec3e704b492da8d19e3852ccf21c01d43dd4dad2ced993174f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/src/annotation/agreement.ts:11 \u00B7 experiments/version_aware_rag/src/evaluation/classification_metrics.ts:41 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/agreement.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"49500703ac45c11841d807ef6e490f85633a0da75221fcf51a371cf53b33f7dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/version_aware.ts:384 \u00B7 experiments/version_aware_rag/src/retrieval/version_aware.ts:422 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2a0f3dff93897ce250a954ac690cdcab3f1d6c6e55b02f7b50ec456d167ac6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/sync-mohw-clarifications.ts:305 \u00B7 src/server/mohwNews.ts:253 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-mohw-clarifications.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e73700dcb1cf8b392fdb447236bd05ea70c7ac6292e57456d1c7b0f536df64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server/knowledgeGraph.ts:759 \u00B7 src/server/knowledgeGraph.ts:781 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"651b69d56181a838337eeee855abffdc3bccbd9331bc880a7c82c2980989eba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/serverHandlers.ts:258 \u00B7 src/storage/supabase/adapter.ts:106 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ba6048cbfe298c826a8c839e5aaa2009f19f865cbaf0c4989919a127ad2380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): agent_skills/db_tools.ts:46 \u00B7 agent_skills/summarizer_tools.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efe8c5207a67d68a4acbb7fb92979dda8c227084abba242a3a86028f40b6d5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/run_retrieval_eval.ts:239 \u00B7 experiments/version_aware_rag/scripts/v3/run_experiment.ts:244 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1038b7921e46687116fcd1a34d1c2f62521d9a86e5558573980dab1d60beb562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/build_paper_tables.ts:49 \u00B7 experiments/version_aware_rag/scripts/v3/export_blind_answer_annotation_package.ts:9 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"456b2edc9a86897ca3c20f73a15f1fc4dc5a95e92f99bd09d1ce2cd316301b58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts:80 \u00B7 experiments/version_aware_rag/scripts/v3/run_statistics.ts:132 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"66af8e214048bf434503ef2b921f9b5a58efe0edf82fc801001c3ade4dc86d89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts:8 \u00B7 experiments/version_aware_rag/src/versioning/relation_graph.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"851493d6f74c1eca4480cc6096a837a08c20b5af58a0295f70b3254c7772bb9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_11_artifacts.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:5 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_11_artifacts.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfae47c60c9e67e9de6268904afeddd15a2d97a31d1ae8a6e3abdaa13567cc19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_10_policy_package.ts:64 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_8_shared_pool_development.ts:90 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts:114 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_11_physical_activity_owner_approval.ts:110 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_10_policy_package.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"402308d7dd3dff46326a374c2e5362fb3cee50d3a1fd3268b4ba73d1c8f37abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts:339 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_11_physical_activity_owner_approval.ts:118 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c439deb945ede39edb54e83b9dcf7494437b620defde7a52b469b1954193a7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:134 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts:146 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts:229 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts:146 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6398ee02e2d5bdf832e9613d32268f4dc7b6d2a006f80a50c56bc7234112db85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts:27 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:42 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2da5d90673468fe4efe1c54f9281c31f979c15d736563ae612328de3b6c5cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts:53 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts:36 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd2e9f7213993c50a7a6d9df2d015e60d557e2577e6abba4626244a608344d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs:6 \u00B7 experiments/version_aware_rag/scripts/v6/build_v6_exclusion_inventory.mjs:93 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a94ebfdc49d7de34f71b7595ee240616cac3989b1f3e4e1a6e7b0c39a90e0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/bm25.ts:10 \u00B7 experiments/version_aware_rag/src/retrieval/heuristic.ts:10 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/bm25.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb16df3a229a03ff186f8443088eabdaa2286d49a44bebdee19c0888d0a41c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/config/agentConfig.ts:15 \u00B7 src/config/agentConfig.ts:34 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agentConfig.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"658e6dba38b829c0792623544d4e74c78db5c2e841d9d51a347888620ab770a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server/knowledgeGraph.ts:149 \u00B7 src/server/ragDocuments.ts:268 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5078a68ceb17d611dc072382b4f7631cc2df3a9d91832ed79841372b63eda8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/server/knowledgeIngestion.ts:146 \u00B7 src/serverHandlers.ts:905 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"05692ec9912ffe00936e1907d7628e1ae2e28ddf527232f22e0d18eb655804fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): agent_skills/db_tools.ts:293 \u00B7 agent_skills/db_tools.ts:338 \u2014 both copies are in the same file, so extract the block 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":"agent_skills/db_tools.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41f3a0cdbe2c12d8dce2ef55594f66d942dd3cff1f14ad35447c9bc26820394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): agent_skills/file_tools.ts:81 \u00B7 src/server/knowledgeGraph.ts:219 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af6c6831ff58aa15ccf5e5bd51531652aa40b3cd86ba2d9fb15df668f797d33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/build_chunk_pairs.ts:86 \u00B7 experiments/version_aware_rag/scripts/build_chunks.ts:113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunk_pairs.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6a16219d3df00a2a0d15b342f69babf0c408b8b42b34a9d21e1b7a831fe036"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts:198 \u00B7 experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts:250 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc883ebbe0ae580d63c88d7044bfecef040e229ae069a4caff61da6a24f07df2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/run_retrieval_eval.ts:259 \u00B7 experiments/version_aware_rag/scripts/run_retrieval_eval.ts:275 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac4241a46ede466a8a8571c4fc3df90ddc1296a4624f4531ec281ca793620bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/build_paper_tables.ts:41 \u00B7 experiments/version_aware_rag/src/versioning/relation_graph.ts:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adb876d543c07d1fb02bc00d80e207e22f2a1e100b70518a922913342e7e09a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts:5 \u00B7 experiments/version_aware_rag/scripts/v4/record_v4_owner_signoff.ts:5 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_codex_review.ts:5 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_devval_expansion.ts:5 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"888c8d67865881ffca958ef5152aae10c678ff8dc0559768b5dc1fe39785e9d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts:12 \u00B7 experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:37 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts:163 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"556ba1a71ef637a0c4c7c061708dd4585dc684764d5fa18ee5f9c11e21cd4883"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_10_draft_artifacts.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a5f32f976e34b04b0814b8d4d41851ee913e77bdb453d0a738342377c9870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_6_artifacts.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfccb01a836c82c7f77302f29865ec51ca8e1b8b11362999047d66526d9ba4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_7_artifacts.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c70ada93ceecf13f5f5f016db30843846708659a1f43d19b1152125fb27b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_8_artifacts.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddca8a32c75b5cc443715db22203b2327478b8a34763284ed83d413703e57f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_9_artifacts.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14763909bcab4bc1f9a9c8c5039b8d9a330f2d3ad0f1cb3859042c89d0a256ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:394 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:469 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7b2cd7d548b85dd5a75a9f8b7d8620fc40264a78f803082a80635f0eb20929"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/analyze_r2_22_gpt56_blind_review.ts:67 \u00B7 experiments/version_aware_rag/scripts/v5/analyze_r2_22_gpt56_blind_review.ts:74 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/analyze_r2_22_gpt56_blind_review.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"37763e5dbeab8161ad534dfe06afc37afe12b57910a5e39b7e223d4e4e2c4be0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts:19 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:151 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"47775a74814e6745b4402245d108091e943415e4722a147f571ff5d3ba4d1dee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts:99 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts:67 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_9_retrieval_validation.ts:54 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a9fd334de6d3c1babfa541a60c06ff12eb4fb61bf094c0d70ee7e1294d52f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/audit_r2_17_candidate_recall_diagnostic.ts:45 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts:144 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts:183 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_21_lexical_weighted_rrf_diagnostic.ts:71 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"663044259f44ead7329889ef51a1b1f94ef7abc2ee49f278349aa2f6ea27bff4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts:53 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_21_lexical_weighted_rrf_diagnostic.ts:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1f57e49eef41f9ec28fb7e91ef82b58216cc8015a1de3805fcfaadcbd8a29e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16e053a1bc737d42a3aa7e3bdfcc235c2746f9d3dec79c096df0cddbc7dd386"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a172412525267a3b8b73c169efd8e7394867c722bd600479b1b1d0d43ced50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cf919ed89c12475a09f8e10dfbdb16015dcf83c4598f55bbd111aed52ca73e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6cdf5957de80cf86e14d1ae7fc7c03480356ef7401d8d2704d35479d7684aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"491fa97d7f38e5d409bea077b8b9b10ffaef2f4f3b9bedadfab3237506eb5647"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c2af50b5e61084c3e7dad73badfbe1b11d270100df5ff86fb284c496e6e211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80448aa66aadebee75ce6c06cecff9bec5fe9821695e0b68de3f52b88112c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a76d03cdff029b5392b8def82fd6dccc9bf028b27a142029e4e9ad53c52c249"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts:11 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:136 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cf3dbad6c78b18f0d427d1bd70b789b6122438f4e99355423dedaa4c47f45d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/build_codex_mined_claim_pairs.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_21_lexical_weighted_rrf_diagnostic.ts:5 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_codex_mined_claim_pairs.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"de054b1821fa5167c819a1dfd998fa7f75196c6960b53c918e69cbbaa4302bf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts:56 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts:164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fb69c88115f6a73255557e5550bc276a0de53b65c2d597494a91c6f4e31eba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_10_draft_artifacts.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_10_draft_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc609f53ba6de638c37b8f530b5333c6a22e2c1d643619abe5e3fa18ee35d9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:57 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_14_artifacts.ts:43 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"323210e1d285111e562909e94dd4f2bc6b9ec228b4c748db7fd1082eeac6362b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:57 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_15_artifacts.ts:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b961292be4f45b8bce2ab7094594f766d20445b8f4e093243898852f6226dadb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:57 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_16_artifacts.ts:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08663bf4ad46b5da7166c0401165bc171d79ce407ca026346976d82c596696e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:57 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_18_artifacts.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb1ca7d8a02140e2d9ebeb99bb552c8f6c067a6b6b4e5964bdc4cef4ea99520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts:57 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_20_artifacts.ts:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"289731eb5bddbb0e93c95808aaf893454fefb6f1dcc6b710ded62284ddee46da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_6_artifacts.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_6_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df934dfe63c697dbf188ffbf75caf7a8ccc473595dd92a8b97515afde5fab5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_7_artifacts.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_7_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3409e538a36eb1866b5e13b3562640e0d8c20f9ca405949c05b4e9a795a3f44e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_8_artifacts.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_8_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97577d1c3fa4c9167c40e54b9d85a6c6c74a3d3474b37ac9c1251977cae96538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/finalize_r2_9_artifacts.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_9_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ad7a03c2c202924d58db3b3bc7b9c81ef93105abc390fdd85bf3b3e927d313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts:120 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts:235 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f712cef554f0bfde1cd84ca284ef064293afbc359a3a6050a5ca743e0e519f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9 locations): experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:15 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts:10 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts:10 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 9 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59f181ff27031a7a6ef47f70bb232e3a404cacab5384159920b8b10ceb6d0df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:237 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts:283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5c1f664eec764c04fc6b3cb057f1aa677f40beb83b97a8b1367efc6b34aeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts:31 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:158 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02ff272b997a7f4507e75c89ed65179fa9a020122906edd96819ad9dfb02295"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/dense.ts:53 \u00B7 experiments/version_aware_rag/src/retrieval/dense.ts:78 \u2014 both copies are in the same file, so extract the block 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":"experiments/version_aware_rag/src/retrieval/dense.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"49522f87d051bc85658e1c478ff8230370890c0acbc4634646bbacb6419e98ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/r2_12_candidate_generator.ts:107 \u00B7 experiments/version_aware_rag/src/retrieval/r2_12_candidate_generator.ts:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/r2_12_candidate_generator.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c320c6a01a649711a34628c55de6856d2d3f993c2c81b7a14728a2554881b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/recency.ts:22 \u00B7 experiments/version_aware_rag/src/retrieval/version_aware.ts:112 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/recency.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d3281c50309b85474a26d97aa897dd4119848c74d7aaf300d9a50fc4fd9551"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/server/agentRuntime.ts:43 \u00B7 src/serverHandlers.ts:591 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa2a680ad8585f558ee64037e3c9f07f0adf060519c1eabc75bb86e34fc5bba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/server/agentRuntime.ts:295 \u00B7 src/server/agentRuntime.ts:352 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af3d026c8aff3fb459a67a5788348e238d51c559cd85bc4e3043648ab26ab43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/server/knowledgeGraph.ts:770 \u00B7 src/server/knowledgeGraph.ts:845 \u2014 both copies are in the same file, so extract the block 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":"src/server/knowledgeGraph.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"947b725baebd6e670b09c16b03d0279ac020b904a0d8cea50ed682c5e26f472b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/serverHandlers.ts:233 \u00B7 src/serverHandlers.ts:489 \u2014 both copies are in the same file, so extract the block 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":"src/serverHandlers.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4016016fec4c6c4b96f2da48b31ab16763f12571b53d5868c5e701d619d5b25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/storage/sqlite/adapter.ts:53 \u00B7 src/storage/sqlite/adapter.ts:76 \u00B7 src/storage/supabase/adapter.ts:45 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06b3cf67ebcee74b5c770c6625d3c54d43f01f8d7bdff7f3eab57c6994fb2a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/configs/v3/experiment.schema.ts:10 \u00B7 experiments/version_aware_rag/configs/v3/experiment.schema.ts:42 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/configs/v3/experiment.schema.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5856f2ce133651267a4974d8a6b5045be99c342f1884f714071714a6954c066b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/build_chunk_pairs.ts:78 \u00B7 experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts:92 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunk_pairs.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf23cbc4cef308531d637b10dfa520ccf68f0251a24fd6b2743ff21b43de280e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 37 locations): experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts:33 \u00B7 experiments/version_aware_rag/scripts/v3/build_splits.ts:5 \u00B7 experiments/version_aware_rag/scripts/v3/compute_agreement.ts:29 \u00B7 experiments/version_aware_rag/scripts/v3/validate_annotations.ts:5 \u00B7 \u002B33 more site(s) not listed \u2014 the 37 copies are spread across 36 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7ecabd16e1f3f01249956bae5431805fd65a54b7ae67bd3695992d039fa3a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts:53 \u00B7 experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts:60 \u2014 both copies are in the same file, so extract the block 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":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6236ab455fe8c8a5d3e198b1961fd1ac80514dc8961e12142b624c454ae26ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts:204 \u00B7 experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36ce5d68e3059433e925380a55830f2fef1b51dad3275f75d52cc0a55a631d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:98 \u00B7 experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"31434fce9f0068312b19af548a76c438f50546e5550981a4e04d4373d5ff094b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 38 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts:3 \u00B7 experiments/version_aware_rag/scripts/v4/adjudicate_v4_validation_safety_codex.ts:3 \u00B7 experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts:3 \u00B7 experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts:3 \u00B7 \u002B34 more site(s) not listed \u2014 the 38 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 38 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1574ac554f5cadc1d01af8076713fe4ff4ee85a8faf0b661d10ee91cfa68e6c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 50 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts:1 \u00B7 experiments/version_aware_rag/scripts/v4/adjudicate_v4_validation_safety_codex.ts:1 \u00B7 experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts:1 \u00B7 experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:1 \u00B7 \u002B46 more site(s) not listed \u2014 the 50 copies are spread across 50 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3aa9f19cd8353c33119fd928728c54f3bc0290b52ecd16e43451e8f164375d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts:134 \u00B7 experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts:195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_candidate_coverage.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ee414e2178abab8242ee0b0cebf10291b4afe51fe41ef3a458ed0d31bfeaa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts:2 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_10_draft_artifacts.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"be00d1b3f8e78b2b671d9485f86115934166bf35ceda53a30c3c8a6097bb347b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts:2 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_6_artifacts.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d619c92cefece394d440d257c13be7e2767c6abd34f337c9afdf2354a0714a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts:2 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_7_artifacts.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c576f0b68966402f3182c25c10e701db11d4c713f96086f1fc63310991746e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts:2 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_8_artifacts.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a482bf3f3972e71e7faf4a7f2fe3fa4615b300d165eac71bbd3313c21d54b87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts:2 \u00B7 experiments/version_aware_rag/scripts/v5/finalize_r2_9_artifacts.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"04544c98780a929092b62607fe0055928bef201607f50d3f5731d2dc40452b46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:8 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c8ae4c0e770617629864c32445d55fccb1b0fe35810f91dad0e3d76d0cd538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_validation_safety_review_packet.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/evaluate_v4_posttest_predicted_graph.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_validation_safety_review_packet.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b231c315de03ed670d373223c945d05d3c6aed3600f60a076687efb2f26e4bc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts:76 \u00B7 experiments/version_aware_rag/scripts/v4/prepare_v4_devval_sources.ts:131 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts:124 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts:139 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eb8568993d8d147d2353087d7cd78a4e8e8a3193ab2e55fa579c88b0c8822d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts:121 \u00B7 experiments/version_aware_rag/scripts/v4/verify_gemini_model.ts:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8259f9f8727b7b8fbaef65d80a4b7dd198dc21e2aaa0da06539b92c748d6a101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/record_v4_safety_owner_signoff_and_freeze.ts:18 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_codex_review.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_safety_owner_signoff_and_freeze.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca3cb349c8024837c4ffa8f66e31c18a3f8c65b9805b52502c976d35e6fb710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/review_v4_fresh_test_codex.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/review_v4_fresh_test_codex.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa269cad2c3ae70d61c9c8e5247b4491db8b8249440db1bdba81beff6f792ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/run_v4_frozen_fresh_test.ts:26 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_frozen_validation.ts:37 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_frozen_fresh_test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad755bbd7c720aa89fb1adde5ce43c21e961a4d596e9d997707108f2607b97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:378 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts:456 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"43057dbbff751d7d51d617ec888d9542deef35defff4ca393f20bfb0f064acf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v4/validate_v4_dev_model_selection.ts:15 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts:401 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts:402 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts:38 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_dev_model_selection.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e871b66636ebde7550d14c7681d47e98c3b159e855053c1998748cb0d95bbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts:38 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_9_retrieval_validation.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e360baa5057860bdb0fc16cb17c5a6790c14a43adb2cd0e6687a4141f1689dbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d50c332791081e860cc3f2ece657977f47cc3aaf8ad1dfc23cca87f56155514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:1 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6745ad02858ccfb1fee142f83e627d6fd3050acd6ba23be99f1af55514045f26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts:913 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_8_shared_pool_development.ts:93 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts:117 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_11_physical_activity_owner_approval.ts:113 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72cd993cc789ca97462f70038026e6b6b41b81afbfafd625e96bfc9a57198b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"56468a653d4b64957ce57e2b54e81959717bc4b1129fa0b8211eb13ba4e898cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts:81 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0d6bd38e5a53a6f0c5044666f57a166b42cede4dbd9aea0f88ad005915cd8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts:62 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_action_detector.ts:149 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51f2c90e93dd67b4b04f85a2abea4f747f952dee52e2bb70e5786c9c60553d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:3 \u00B7 experiments/version_aware_rag/scripts/v5/replay_v5_devval_relation_policy.ts:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da7a4446414e58f0cea6a2cd24c4725a8f42edc77e74314be12fdee861daf77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_v5_relation_review_packet.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_v5_relation_review_packet.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"193ef8eb691a28d0165f4ba4425dfcfe7fdf9c164f50b8536db8a36884201eb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/replay_v5_devval_relation_policy.ts:4 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/replay_v5_devval_relation_policy.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44973e79845e41b6d075c6268d1fba9093246d8b6a0eb51134fc6f5c8ae4fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:55 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts:40 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d1c17d5c6024e5f317a7f570013b61355b6c95a7f6b8ef55d0049f2ce7df4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts:72 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"281c572bc484cbcc05c74feb47659ac7869d2f0ba36de6b52b4b56b197289136"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts:133 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_21_lexical_weighted_rrf_diagnostic.ts:121 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4074b5514d40716f51c263861ba114ed094ee48c282610d06528e5ab4cdac0e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts:64 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:114 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4fbb19c7d9ae76b8765ba3a7fcb673846a7549c4861f7fd3cd837723f6cc80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts:8 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts:9 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3726adfe25764036164b3e963f9884ee13e33fdc8339d241e46eb2c4bab1c07e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/src/corpus/assign_topics.ts:95 \u00B7 experiments/version_aware_rag/src/corpus/segment_passages.ts:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/assign_topics.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67388daf636124225e6732822dd49fe3e8a6bd398077e8d4d04aa011467232b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/src/corpus/segment_passages.ts:24 \u00B7 experiments/version_aware_rag/src/corpus/segment_passages.ts:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/segment_passages.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"253bce2403e10faf74de7b56781d5154d098d3ff9d4d41e867c69da0df8d7c35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts:111 \u00B7 experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts:138 \u2014 both copies are in the same file, so extract the block 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":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b4b46f74a1cf942797b025ea832db1b46e04851d914ab9c5bcf6548bfb257f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): experiments/version_aware_rag/src/versioning/relation_graph.ts:127 \u00B7 experiments/version_aware_rag/src/versioning/relation_graph.ts:283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"150163f668d6aba2e76f5205336b560661a36bd0033b8f4f070838504b015776"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/sync-mohw-clarifications.ts:147 \u00B7 scripts/sync-mohw-clarifications.ts:170 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-mohw-clarifications.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65cee226291fde50f6c38c60660eda79c65af4a3c4eabcff85f3b39e0cfaba8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/server/knowledgeIngestion.ts:71 \u00B7 src/server/ragDocuments.ts:68 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c082b7feaa868a47f90e23dc0d0661874478942754b34be58c6bc01e58a6e945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/server/knowledgeIngestion.ts:80 \u00B7 src/server/ragDocuments.ts:76 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"076a8cf6b2e1fd8ddba254ffc72db07c40ea49233e731c754f33ddd08d110b2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/server/ragDocuments.ts:649 \u00B7 src/server/ragDocuments.ts:657 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"11efdc584378a5de8f721bf08762f333e189f7b905abab623a3a4d918f6a6b9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/storage/sqlite/adapter.ts:90 \u00B7 src/storage/supabase/adapter.ts:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"523abd1883e22d56b22ffd51523a39bef87066d7648e579c8468efff8ca04901"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:101 \u00B7 experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts:221 \u00B7 experiments/version_aware_rag/src/evaluation/answer_metrics.ts:118 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6e58b15adbcc109cabcdeae5da454cf1cbafcc48c9a5e3b989723d70d481ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/run_statistics.ts:89 \u00B7 experiments/version_aware_rag/scripts/v3/run_statistics.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_statistics.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"574a69b427f48be2485907943d07599db95e77594bb4ea97e0cc98ddad3620b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts:161 \u00B7 experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts:190 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ac164d9f9900ee3f8d5ac4f17e6965288e680b53fa84f7b3fa9022d8e38fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts:119 \u00B7 experiments/version_aware_rag/scripts/v4/build_v4_safety_review_packet.ts:81 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67601e4f05ac655d3cd97bcd4c02a7cfaf0dfaebc705a5b979cef80526e81a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 40 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/adjudicate_v4_validation_safety_codex.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:2 \u00B7 \u002B36 more site(s) not listed \u2014 the 40 copies are spread across 40 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a68b8bd818181eba92454dd1843b42015d21696f78301d2eb2eb16835df8a4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts:54 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_action_detector.ts:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d181a9656b54b5ad31752e5173d8a790c134bdf617037d610f8f2981c58e9cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_answer_generation.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_answer_generation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"61287c2facb045eebef73cfad3babc0a5515745a30ae4900b94bed8b459885d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts:40 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_frozen_validation.ts:57 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_dev_model_selection.ts:49 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3065a04891d8b11cf335387ce97b863d8a3c05b0315432e850e98a2f6430d4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts:65 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_dev_model_selection.ts:86 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts:101 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts:69 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93e7ce5720bd2c49a09f801e7159b7952647b33b125d871ca9522455b13fdbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/evaluate_v4_posttest_predicted_graph.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"561640d2c41ce5782862f300dd1ac8d8dd7a5491450ed2f5b3d280df5b056f93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts:42 \u00B7 experiments/version_aware_rag/scripts/v4/freeze_v4_devval_splits.ts:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e8f93b91b4f3e0824e7ae8ace5f826a5ff76e194b445f5120c4d06d2c1de4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_codex_review_packet.ts:19 \u00B7 experiments/version_aware_rag/scripts/v4/build_codex_review_packet.ts:24 \u2014 both copies are in the same file, so extract the block 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":"experiments/version_aware_rag/scripts/v4/build_codex_review_packet.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"401d55e946cf7ec12dd05b8913423efe7aeefef45eb670cb0474edd18567fca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts:545 \u00B7 experiments/version_aware_rag/src/corpus/audit_corpus.ts:105 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"053b603a748d9177031c9c2f3817369f16710e0b586db1ae2f31aeede0bad9f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:114 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a1cb8d310d2adc615b90c35304355e6d6843fafd11b99a2ca749c1c68b3a60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:8 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e961154082ca48263358368e519a954ff325a29e3521269c481555de429f9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:8 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"34206b895e293ff8c6db5bf109008db65ec56e561d209face13e806391f62cbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts:8 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc08251eccaf1498ca813685dee1f42289d1fd595f38629df38f1d1ab602b6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/build_v4_safety_review_packet.ts:2 \u00B7 experiments/version_aware_rag/scripts/v4/evaluate_v4_posttest_predicted_graph.ts:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_safety_review_packet.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8092a5cfdf1326c7a443bb6304f25e536a11f1f3382af6e41d64b6f8df3f373c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_devval_splits.ts:16 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_r2_8_shared_pool_development.ts:65 \u00B7 experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts:77 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_devval_splits.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c34b785b13051fd46fec773c1bf524b2c878bda091102b3e6314292436d9db3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts:45 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b484ab7c8deb5de94288d5fcf919f1c5f4953f324268c281c1fbf3d337083bd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/record_v4_fresh_test_owner_signoff.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_fresh_test_owner_signoff.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e667385afc50bb55c96763f820b9c32da32aa9e603d6b87c8c225a82b35037"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v4/review_v4_fresh_test_codex.ts:9 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/review_v4_fresh_test_codex.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"490187d8098f7956977ba5b6d7994eaf2bf577b84642fc17f94772cc5fb8b434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts:11 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_frozen_fresh_test.ts:11 \u00B7 experiments/version_aware_rag/scripts/v4/run_v4_frozen_validation.ts:11 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8478fe36bfa62fd05f2bc655aabe4e7849a47f198c111853335ef0879a7204"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v4/validate_v4_codex_review.ts:23 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_devval_expansion.ts:16 \u00B7 experiments/version_aware_rag/scripts/v4/validate_v4_owner_signoff.ts:15 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_codex_review.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a040721276a59426f9e7874e1926b1428641acfc5c188671a1ce6f5fee191eb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts:49 \u00B7 experiments/version_aware_rag/scripts/v5/audit_r2_9_retrieval_validation.ts:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bcfb11ce393ce673c7b394e04ef434a802b6e9aa8897777e2b8466ea7b6fe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts:292 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts:915 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_7_preaudited_cross_version_split.ts:398 \u00B7 experiments/version_aware_rag/scripts/v5/build_r2_9_retrieval_validation.ts:203 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b911c3601f109418d83069ab187982ebd80d7c14dec40624d67664fe35be96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts:39 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts:53 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts:51 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts:52 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"502beeb51ead66d28f8d5acf1ee51073f61c91d14591c899d238d8b6d70eee53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): experiments/version_aware_rag/scripts/v5/build_r2_22_gpt56_blind_packet.ts:125 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_13_top3_diagnostic.ts:112 \u00B7 experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts:140 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_22_gpt56_blind_packet.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3573d762a1a05ab03ecfa42800e2536e12fe5dacdcaf8d280e21952a2f1d4358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3715dbd1ed09ed3b5a872a2fbabd727172e7afd883ef45f942f35c62247960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"216863bf837b42d23ce4bc42f24af0ed45b62b078d3727992f26875cc03803b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3372a18f27cd9f433dddf16225ba242770e5921bfe5f51d826a7e3abfc8c2553"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_5_official_action_expansion.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_5_official_action_expansion.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0054e450c4954c6effca54e6fe5a8b7fc42d10836be300ec5d805fb6831cc26b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/build_v5_relation_review_packet.ts:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"015ccafd202292fe2c99db3280b4ce7c201f4b29be6223a3cc2dbbd36f79a525"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22960efc1c31d50f8f4da8e0baba60844db7e75d8d7c6e84d12dd654cc04921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34eccae56a54acfe8569407b4fc7f9691254d76e79f0249d962fa1c82d1b017"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72c15bcbbda602cc7015f2bef7b88459289c9d62d5444b884e4f0833039a06a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe17ccc6746620c9165fde5eeec1e3e6496283ea84205dfc2a2f2a6ab782b97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9d89bc7fcef8a0ebe8823f825307b3630a7d0b03ad7916889ecff726ca1090"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/build_v5_relation_review_packet.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_v5_relation_review_packet.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"82619ef11c6b49df6725a3fded856bd7cff51e781b396b84869c134ba4bfa171"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"915e4bf0d0eb9ac74a9aa521afbb77267ace36a1b8b26ed270b364b0da4d7768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0458971182a5eb386e7a106a0e25fe04121624d5caf2275b7903ac2668c59c11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fafcb6160b2f6007c44a56f842dba47a6c8629ae1299c50548177cc2f14c348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_8_shared_pool_development.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_8_shared_pool_development.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14743518305cc9482e2213106ce01cbe0d79607fb99a5d68f314a2edab31b50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_r2_action_detector.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_action_detector.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb0928a08a8ac09340fae8a8d1697a335681c6e38ea2f8a95e7b24d612183dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:5 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7662238ba947970db01f73b7540e0ec76e7de6027312f3f0a70e186102e420"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts:59 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba1eb5246ae01b4bd004b622bf2a04887203971d4c8c0e221ca850879f9ba59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d7c8068ac0e13ae0643d27af480acc093f527ccc9147668aa4b731f1945973"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b421d89dcd93dfc041942c60e45c1c1cd6c17c8a45d712fb70a87bf2dd454c2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3634e9554dbb4668f2a242c76bb354208c3cff543f7a753f796f42944dc62ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts:80 \u00B7 experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:165 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfbd225b49060c23b8de4f1d3b8b25450fd93d0892ad18f6337970fe98a2a2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80420bd30b1855d2d64afc9bd3ca77469bef9f6fa45c4433102fca51af53cf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts:7 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a96abe4734da42d244a3e4585be96378ae31ce10dc164a942c9f6b47a9713ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab8fe5532e64e1b0cb74cf4897e2350e8c82f6f780a20e9827c57050400215a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts:6 \u00B7 experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc43887d678f231c2111291b6fbbb511bce91a5f5568532a496143f3d660f183"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): experiments/version_aware_rag/src/retrieval/hybrid.ts:17 \u00B7 experiments/version_aware_rag/src/retrieval/version_aware.ts:112 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/hybrid.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bb4772c3f9a89a7131cdfdf75a26d880fa4989eb28ae31a07d86625873f847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): src/storage/sqlite/adapter.ts:69 \u00B7 src/storage/sqlite/adapter.ts:81 \u00B7 src/storage/sqlite/adapter.ts:272 \u00B7 src/storage/supabase/adapter.ts:50 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c4d08406733836bcfe2f028543024f28f3df8a7c6183da094f22055a15dd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/storage/supabase/adapter.ts:127 \u00B7 src/storage/supabase/adapter.ts:195 \u00B7 src/storage/supabase/adapter.ts:200 \u00B7 src/storage/supabase/adapter.ts:299 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d5094a96a0d270a8f836883bd2948d0aacffc48ef35bf6b10846a040768a18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/storage/supabase/adapter.ts:155 \u00B7 src/storage/supabase/adapter.ts:251 \u00B7 src/storage/supabase/adapter.ts:293 \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":"src/storage/supabase/adapter.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"73140fd64a533d33fd31e28a86edbc9acbaefedcdf023e52fccefc91ecc4d723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retrieve (cyclomatic 84, cognitive 133): retrieve has cyclomatic complexity 84 and cognitive complexity 133; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"161fe68ff28c1197e18d9a1e14082e986359fa347b4da924abfcd2ad888cf2ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAnnotations (cyclomatic 83, cognitive 188): validateAnnotations has cyclomatic complexity 83 and cognitive complexity 188; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_annotations.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"623e31261f2304194126ad1b0fabce45e33567a44bb0c21b6e53be44d4f1b3e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runV4PolicyRepairPipeline (cyclomatic 56, cognitive 97): runV4PolicyRepairPipeline has cyclomatic complexity 56 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"db53b5597bb7052031933a89c503d513224631d268f8962c83a1751ef5fb49c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 38): (anonymous) has cyclomatic complexity 47 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82247a2820279f86f1b532bdd49ff9818c50df902d052bdc0948a50aa32494d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSplits (cyclomatic 45, cognitive 77): buildSplits has cyclomatic complexity 45 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f9513d4f6626d095e39ab64002b0122351dbf9d1e04704aaef8245eaaac3ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatHandler (cyclomatic 42, cognitive 55): chatHandler has cyclomatic complexity 42 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"6792929a8ec434e190e8d9b3077fa1f291fa54b49ed6a324fae1990569e7ce30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 40, cognitive 67): main has cyclomatic complexity 40 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1943638a92c420798c3717c322e425bee37e5e2150e444499db2f004f0441d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributeFailure (cyclomatic 40, cognitive 43): attributeFailure has cyclomatic complexity 40 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/diagnostics/stage_attribution.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8abf28aa852cb1f72503a2822fcff8d44b6e0e9814c3abdb87ce2f6b2535255"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateR212ConfirmationLedger (cyclomatic 39, cognitive 69): validateR212ConfirmationLedger has cyclomatic complexity 39 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"446068d4d949e97766e5ca9302a0cd7390fa9800e03ec84a2bfbe67dde3b9dde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateR214ConfirmationLedger (cyclomatic 39, cognitive 69): validateR214ConfirmationLedger has cyclomatic complexity 39 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b806546d8d970a442cb175bcb1bb252546623257b24ea57b0e10ebcdce8be8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateR216ConfirmationLedger (cyclomatic 39, cognitive 69): validateR216ConfirmationLedger has cyclomatic complexity 39 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dd858dedcb5c73d518d4db2514e7a028d001fe988a4698a389cd073e837d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateR220ConfirmationLedger (cyclomatic 39, cognitive 69): validateR220ConfirmationLedger has cyclomatic complexity 39 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"889095f2314f9afaf9b78c9f916211076baff148c1ebb428db5b3ec4e711d3c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 41): (anonymous) has cyclomatic complexity 39 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/imageStorage.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5770e2598512a226199aa3a4deccfe3d4982de202a04b0f12f1f25bd134162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareRecencyAndOracle (cyclomatic 34, cognitive 48): compareRecencyAndOracle has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ece9bc12ac1c66388d692f88fc110c9b84fbf5effbcc9324fa51a6970aa127"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 34, cognitive 48): main has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9efddb2b9b3efa9afd4e18b520a5a891a0310ac251dfd2ef4092d63c0a35633"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateR211DevelopmentLedger (cyclomatic 29, cognitive 55): validateR211DevelopmentLedger has cyclomatic complexity 29 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299a41c1fccfac7aef864cdbe20cad9a6737ee9539b97b76e049ebde1691af5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOracleCounterfactuals (cyclomatic 29, cognitive 53): runOracleCounterfactuals has cyclomatic complexity 29 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f903cef122c2eb2414bc31c1abc4c516de5713b94e36cde89f9a4340cd69742"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 37): (anonymous) has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5209c295b9a1e30bbbaa3925d3ba3329727047b2db7304bb5210a846709dee64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 29, cognitive 32): main has cyclomatic complexity 29 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe7c085e47994ac6581b3e4094c113f5909411ef0b989ba9dc257c894036a36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function work (cyclomatic 28, cognitive 55): work has cyclomatic complexity 28 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54bc66b1177ee269a17704b132e6ab37d1d34848b01566f5dc6b760b4002653"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function auditCorpus (cyclomatic 28, cognitive 52): auditCorpus has cyclomatic complexity 28 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/audit_corpus.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57cd1a6083e4bc8013d6078773753feaadbdc901f02e03f3bcbefeb8314c3c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOracleDiagnosisReport (cyclomatic 28, cognitive 30): buildOracleDiagnosisReport has cyclomatic complexity 28 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6473763e9746257c34846d463a7783c2bf4010098b292d349872043d78a8edf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 28, cognitive 24): main has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/classify_relations.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ea04058782274e60e8bae35c9fe3bb80415b1e51ee7cccb1e82f52238d09d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandCompatibleChunks (cyclomatic 26, cognitive 72): expandCompatibleChunks has cyclomatic complexity 26 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/compatibility_expansion.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e83cca9f0f66846bb52784b911ae5f1eaaeb80810a0234b8c3f69d377c3eb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildChunksFromMarkdown (cyclomatic 26, cognitive 37): buildChunksFromMarkdown has cyclomatic complexity 26 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d648d0f558bc0ddcf33cd7c726bc8435413760deaf93e41d0a30dd39f0f1461b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeClassificationMetrics (cyclomatic 25, cognitive 43): computeClassificationMetrics has cyclomatic complexity 25 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/classification_metrics.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05cad6d33d3eb519cf81ff4b7efdaab6acc783f3a4bb44f71ad052fcf125dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 31): (anonymous) has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-mohw-clarifications.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22c71163bc7d55c920d1cdc5b1f2f79ae845a3409d85787951edd354ba1eb6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logDietWithClient (cyclomatic 25, cognitive 25): logDietWithClient has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47053b15863ed0d01648c78d68f41fb33688543e609bec2634ec98ad15fe811"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 24, cognitive 36): classify has cyclomatic complexity 24 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de5cff28a2c1902500093673dbbc7d95bae85fa0566a80e2be3b36a3001a45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 28): (anonymous) has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/fetch_web.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed962fbcb15591b0840e9171ac4f3cbae5ae384d2a6bac3bf523d276e072547d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLegacyChunkIds (cyclomatic 23, cognitive 21): getLegacyChunkIds has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/build_corpus.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aa2b8bb8a96c926cf15371e9fdd07d4e278ba7a049836bad1c69ee7adb4a47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeAutomaticCitationProxyMetrics (cyclomatic 22, cognitive 24): computeAutomaticCitationProxyMetrics has cyclomatic complexity 22 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/answer_metrics.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaef36d840019f0d925baa70de1b163f2b7c6c685af453357642612ae69ad3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 21, cognitive 34): classify has cyclomatic complexity 21 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a026e522761a913831d17b2d9a44b75f2344013ce8d7d76222d2dd8266abcb4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2521579bd550d8103a5f7c47bc8fd7d53fe3eebeefa82ec312f5fe56af6b57a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateKnowledgeDocument (cyclomatic 21, cognitive 20): updateKnowledgeDocument has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96cebe356792ef93375dfae589dc704ff2c9a73c682cc0b8c0ccd0c123626d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePolicyState (cyclomatic 20, cognitive 33): resolvePolicyState has cyclomatic complexity 20 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e003c2c8819c9716625f15800c3423cb3ef8bd4b22f7b2d4235bcc0c40b90611"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 20, cognitive 30): main has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb03bebcbdbe671d340bfe47adc22d80b8a77e8f5331b2c9af10278efe97c369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChatHistoryWithClient (cyclomatic 20, cognitive 28): getChatHistoryWithClient has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e560cb692b36f2e6fa0ce4d0369e35b35c386fe8da05c0aa5b169ec3d19a2f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c456049dab6d59a2f8284d8b9618552d22b0d7d0a62b2d996e9143615dd06ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"101df38c9460859da1ae8c84a3e7194e086f09ae3631f39e415ce801e65446b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"537f35d92b0214987696397b10bc5750c5c2be4c21689f0a5a25ac6e60555823"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 17, cognitive 34): request has cyclomatic complexity 17 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3858471d3a026e9b166d1454c0216a9a682b7cca07c23221e00bdfe90cfe039b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 17, cognitive 28): classify has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94534fd96635deeebd87c045c3e3cfc395813035af17c310be1ca6917b4da49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTuning (cyclomatic 17, cognitive 26): runTuning has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e140e39412b5999ec5687bce374198bd1db85ebe0bf4de741d5c0bb30c0c91ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 20): main has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_statistics.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa607fec3a5824c8b9b2019aa637524dd0ce195c07bcf2e486ab6f9f7dcd395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"db870d5274ac3f6f6ca5d22562c1ed86d3f9721530756e5ee8ebd27f643f89f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evidenceObjectRef (cyclomatic 17, cognitive 11): evidenceObjectRef has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_exclusion_inventory.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c50f7758e0008864a67f717c9e2dd37d5f05a52bea5e0fc096d58ad33eba1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 42): (anonymous) has cyclomatic complexity 16 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6241e8aeaa7299cf61c40ee7a3fb86d5bd468f5789cf3931a2f526c5ee34c1ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 26): (anonymous) has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c82134568cf9f1fbb2c403aa91ff4fb56b50a2c65ccd28d1ae6c730dfa0f6a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectFrozenV3Runs (cyclomatic 16, cognitive 20): selectFrozenV3Runs has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/select_frozen_v3_runs.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d849c97e6a19701e301710ce4ec26b2b90f315f99ac02219d7663d9e894a313"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateQueryMetrics (cyclomatic 16, cognitive 17): calculateQueryMetrics has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/retrieval_metrics.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2596f77cbe7b12f227cbe8cbb163f0b65606d2cb19ed7bef3c70ae8b20282f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadGraph (cyclomatic 16, cognitive 16): loadGraph has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f00303c9a1e5cd19f7e10135f42a4fb69d618b7d063b4b79f7c746b16f0d62d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 16, cognitive 15): classify has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c591ada1925952e619346a436313ed930575b99a5fec2cc3ded03c01d8c4901e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignTopicsAndMetadata (cyclomatic 15, cognitive 23): assignTopicsAndMetadata has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/assign_topics.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1d67c63483b0889e988aaf0eedb28caafcbaa90fd07fa720c88ccff4262848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 22): main has cyclomatic complexity 15 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_policy_graph.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72895c3af184979bcd2b4ab7f59b2ab493736f2434f7251b2bf86143768f7e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ef6c94bbecbc168c498ffe65fa0e4d182752d875da060913ce1f969fe3d1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAnnotationItem (cyclomatic 15, cognitive 15): validateAnnotationItem has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bffa4988b0454204f21304d5e690bfe8965541fb43f61989e5faa113b5b0b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 15, cognitive 14): constructor has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3101ff49a9537e6b9665b2a41b51d3582bec9a5dc1233b7a90e578a39fd33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeIndex (cyclomatic 14, cognitive 23): initializeIndex has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/dense.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ae3b245ca5b25cd3dea08a21e271bf44939c7af2b4614bfe3f606fa4d17c77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 14, cognitive 17): resolve has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/policy_engine.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"701666a37287d1fd8f95b85400993144577b9338fb8e253209e696a8c9cdff37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/fetch_web.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f932a7c11093d2fa831c65c16a2d0f3628e20a133e9b36718c9f98f36d12bbd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 14): parseArgs has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc2bea195969c5efcc477358c3c78c9dcdd8f58cb59d6355627c0fefeae1995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTemporalIntent (cyclomatic 14, cognitive 14): parseTemporalIntent has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/temporal_intent_parser.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcf6b90599c8fc36b0fef765de86f21c28ad4a65ad0318cb1340d85e6fba303"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ce5cb2a746d96cb316670b74f06986ead161b6804a165630a7caf3fd933aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8b8b288c95df242b42c93564e58aa70a9220e4cb3947d7e5109c49e998eede"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c465bf34bb91b459514c4ce160f12941cbed0b2ce9c38e76d31f44ec8107b963"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateKnowledgeIngestionJob (cyclomatic 14, cognitive 13): updateKnowledgeIngestionJob has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5191397e9b7e2593d46d60737deda8f7f0839c650e6d34135fef0a998f4626f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 12): main has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ee26577d59a4301a5d61e79c8b1af74c754681c97d5d7426b076d9aec0c336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidateEvidenceRef (cyclomatic 14, cognitive 9): candidateEvidenceRef has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bc03f3249270ff0b85ea9cf4b2a7942d967afc5380b9322a885a950aca8011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateSplitMetrics (cyclomatic 13, cognitive 20): evaluateSplitMetrics has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da4f3918dde7958f11f5f4a028287a9ad6fd73081aeb625c582599b808bce51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateSplitSubset (cyclomatic 13, cognitive 20): evaluateSplitSubset has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"48390d87605e1e2ac50a6a67162a857e5a4fd5999913eaac6508fb6c3f81fdfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"995e0f3e26a3e6fbd38161bc0e09fa29cfd00118150e11faea1c875913b8295b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retrieve (cyclomatic 13, cognitive 16): retrieve has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/dense.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4173445beff4b3eb35fec8d7b810cf2e7f08195a7fda10b5d22852ecb37cd49b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trainTree (cyclomatic 13, cognitive 15): trainTree has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e203ad8860af99f9cda4d901a469a104120dc3e5d2c3fddaffe29b0c7fa31303"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gatedSignal (cyclomatic 13, cognitive 13): gatedSignal has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"63490a5de6ac02f62c5a151e09a1fd8a5b59ba71913d0ed253dc25369d079ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingestKnowledgeHandler (cyclomatic 13, cognitive 13): ingestKnowledgeHandler has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bf60b97b8242642c32ca3e88454a881728b83f314657d516fef3495b8535f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadKnowledgeHandler (cyclomatic 13, cognitive 12): uploadKnowledgeHandler has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfe15e6ec0c3a950f54bfd491c4c734bde6669c36cd459156a5b144f8382c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function produceDuplicateConflictReport (cyclomatic 12, cognitive 24): produceDuplicateConflictReport has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3c9aab401e3f54f5780ab0b67807d0fefb686dbd0fbf2a4e0a8e1d69d4f8fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"90755189518f2e8d9ecb453ec33514cc6578ac0c7bda89280f54be388a71b2bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 12, cognitive 20): evaluate has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f7bfe37715b4739ac9b30c308a43076aad4ceba9212751d55512b4602b30a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateR212CandidatePool (cyclomatic 12, cognitive 16): generateR212CandidatePool has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/r2_12_candidate_generator.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3f63fab048ceabfa49aa595047b00425cc015f8599cac313724e0b178dd6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectRelationAwareTopK (cyclomatic 12, cognitive 16): selectRelationAwareTopK has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/relation_aware_pair_policy.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feb711a72af23cd5e6bce4f45e87a28dc6c8f44ac6d1ff88d09abf8304251e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function crossEncode (cyclomatic 12, cognitive 14): crossEncode has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4d24de203e2efc0dafd39cba722859dd3decaede22a97bd2872848420a5c8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistSummaryOutputs (cyclomatic 12, cognitive 14): persistSummaryOutputs has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"859791e5c853e4e7b764b8f1d02d374eb509acf96cd12f525be3125fd2ff0a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeCohensKappa (cyclomatic 12, cognitive 13): computeCohensKappa has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/agreement.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d450079ecbe7d5fd08a8df3e8faa500af9cb2b8c19af8866ebaed63bf343b54e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyze (cyclomatic 12, cognitive 13): analyze has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/error_analysis.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0356cd9a321d281a99b4900d26025a9ac4334ea3764c8e60946e6b27351cf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/mohwNews.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e679a7673ddc5082b6c91649f7c31e650049a02945b43432c4e8668986776a6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 12): parseArgs has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cefcc681d5561ca9903c9f8eaa8fb9c9cd47db49e5ca9fc6088a0a1f5ea52f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 11): main has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_answer_eval.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cd351dbdf08900c2e92437f7008e8f5bcc5758113e297cd1af0feb7ffe2c07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0afb9bd7d6c7cb0556054db07a751411ec61c76aa9a866be5f3c37a2f684cb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserProfile (cyclomatic 12, cognitive 11): getUserProfile has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6779c5db66dfa11ac5e98b0b46bf69fe4014d7ef6edbe0dc49af45cd620f095"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitLongBlock (cyclomatic 11, cognitive 20): splitLongBlock has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/segment_passages.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad68e0cf218d982bfa592e30136b2f0945259434379a7bcaa5a171b8eba6d49d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentPage (cyclomatic 11, cognitive 20): segmentPage has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/segment_passages.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d67269759ae3a0caf26701ea36ebfcb945a443bb1ccc0066adb6008dc74f30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidates (cyclomatic 11, cognitive 18): candidates has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e681a443f8c4f7c063dca30ea844f2581d7db3c80b9c9b5ecaf6dc8baf06cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e6908f154582e8adbff97fe80f48d89208f588f8aa0d5d724194eba1d9f4c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 15): main has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/apply_policy.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace8a26fd777a1f19ea0a6dc740425676955aa21a473dda973c79ed0aacfc1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 14): main has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee259c09f8cd2b4b762582bbe43ce9b5f90b35df3e620c35a514cc8515eb65cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFocusedPolicyDevelopment (cyclomatic 11, cognitive 14): runFocusedPolicyDevelopment has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_focused_policy_development.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"043ebdf0ecb2455f59a65387222c26aa0f94e3bd284215a8a7621f6e76a67c6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function train (cyclomatic 11, cognitive 14): train has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d9e0fd19ad42c2cd7fa2bec45f7a8242a5d05c52d75ee52e01052b3b3dfe1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retrieve (cyclomatic 11, cognitive 14): retrieve has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/heuristic.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f782f7415a663f362b891438fb1a015950b364abbde8553199de7746b41bcdce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateAnswer (cyclomatic 11, cognitive 13): generateAnswer has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c0fc6620a6327a045902740d92b614059829e339df865e51920cb74757c987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeWeightedCohenKappa (cyclomatic 11, cognitive 12): computeWeightedCohenKappa has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/answer_metrics.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fda10d7dd0f3f98bd673af72be179e3cbe3b1290862946c01386916ae6af37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSupersedingChunks (cyclomatic 11, cognitive 12): getSupersedingChunks has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/relation_graph.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4973610d0daa14c66b830681d80d5a777ef3b8b5f29e247b962619f8dbb90f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/vision_model.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0bd453308b7a8638094497bd7ca48a3252409abba7cd1a41bd66d40e2c987d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"285350e71a135c63a0ddba216e52e342f960eac9fdf98487202506947c208563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/summarizer_tools.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce90205958fdd7936e67d782339f1d6f4beadaa40f080e53d6897f76aab2e9df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyConflictRelation (cyclomatic 11, cognitive 10): classifyConflictRelation has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/classify_conflicts.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c198e66e2bbea4552f36470454a48b5d3964aafa30121e160e534b163e7c9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a369a51604fb854dfea47722bc487011e6ce853fdea3eeb184701d2886ab1198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 11, cognitive 10): classify has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/rule_baseline.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed911dd40a72ba338270e4a3672ca1e638f9aa1cf6fd8dd5f001cdae47eabbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callModel (cyclomatic 11, cognitive 10): callModel has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a3ed6b46b329b28b37fee48fd95054c4fadfe9135316dce293c595a7b2d0c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/httpRuntime.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d9281739e9cba23ab9d8bf09f8ac39284a0f968e070035ee8b8a68c64be4d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateUserProfile (cyclomatic 11, cognitive 10): updateUserProfile has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ea242e64565f1af2367e681fec1b36057550839913319068390723089ba319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 9): main has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"35658a1de25ca6899acc79bb74e7bf22af4b1a373fe03cb1ce6e3f28ae28e03f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertChatHistory (cyclomatic 11, cognitive 9): insertChatHistory has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a64bd1050ab05ea5905c3f29dab9bdc66c5f42f6d7abd82df580a7bca919d2"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/src/annotation/build_splits.ts: 1268 lines of code: experiments/version_aware_rag/src/annotation/build_splits.ts has 1268 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca28ab48bacda89d23c77b343b19fd0b2e2e20eb3f31926e3234b81a4a5597cd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/serverHandlers.ts: 942 lines of code: src/serverHandlers.ts has 942 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb6aa41114fe0e72ff85f14381cd1898ecb38619025cc88e48b9470d10d9942"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts: 893 lines of code: experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts has 893 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8f3ff93cc6b193d430013a0ef83bf6d07a8a2812d15a733593631abdaadf65"}},{"ruleId":"R3","level":"warning","message":{"text":"src/server/agentRuntime.ts: 828 lines of code: src/server/agentRuntime.ts has 828 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/agentRuntime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000cf7a80a800b303d49c697147b2aa162b55d52cc0ab4dd99e387434c2ea2a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/server/knowledgeGraph.ts: 766 lines of code: src/server/knowledgeGraph.ts has 766 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a364fc85c7e2cb3fd918da52dd77d88e59eea7fbd62e28522f616596d98e198"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts: 703 lines of code: experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts has 703 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"561487b5b065df17164f0fff32324fc2c05e518b5df792d33cdb90fb187337df"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts: 639 lines of code: experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1b127ca32fb0202c485e3cfbacc44bcf5d81c44c6d6d430ee80887f5638059"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts: 631 lines of code: experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts has 631 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803d1238f98f4b6dad224ceecdc9ca89c85b70b8d56fded8fdf46d394e6a771"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts: 627 lines of code: experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts has 627 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08060c88d2be31e84a77193168c97943adde9928fc244e2b661e8ee3e71ecaaf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/server/ragDocuments.ts: 584 lines of code: src/server/ragDocuments.ts has 584 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3619b88a9d54c4d51ae1a6032bcaaf794cc7fdbad819ea6636824a8c2d7a1"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts: 573 lines of code: experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts has 573 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"117dea01eacde8c5018d0f9ed3694617e823ee5b856504ac5a9fec9263d589ab"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts: 561 lines of code: experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8141f590411fe1c2bc282c0936ec32117aa7f53e60d0ce28af91ee521004bd9b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/server/versionAwareRag.ts: 457 lines of code: src/server/versionAwareRag.ts has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e9945df599b7b1b620b8b6229a512fc970d3152015cf32bf0883158dcffe2b"}},{"ruleId":"R3","level":"warning","message":{"text":"agent_skills/db_tools.ts: 449 lines of code: agent_skills/db_tools.ts has 449 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6436c078997c127cc85c1212974b9686d9577e4ea68c9c18fbeb429bb7dd1456"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/src/retrieval/version_aware.ts: 449 lines of code: experiments/version_aware_rag/src/retrieval/version_aware.ts has 449 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/version_aware.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c218b8cf76d6c41cab51f7d0601d025c986bfabea17f5f7e7d8ee938548bd81d"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts: 447 lines of code: experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"740db10b3bf7c24d5d423164f22979377fd4e21aad75756b297e96f470f7ef29"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts: 433 lines of code: experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67c23b2068a560970c35d8a71da596fbcc52947dc593e8f3c9f49a5fe4bc0c4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/storage/sqlite/adapter.ts: 430 lines of code: src/storage/sqlite/adapter.ts has 430 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccae943d6607f426cd3651099a0615cb79d2ce489fb17b714b85f4ed55f38568"}},{"ruleId":"R3","level":"warning","message":{"text":"agent_skills/file_tools.ts: 414 lines of code: agent_skills/file_tools.ts has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bede0cf40f134e756f583019355b3a808c8e1312a1410368a77b6d33656e0d"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v3/run_experiment.ts: 404 lines of code: experiments/version_aware_rag/scripts/v3/run_experiment.ts has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fe9e17fd4f9c468a1bd4f1696db75ef6f2daa8007974239f795a9d78bbb677"}},{"ruleId":"R3","level":"warning","message":{"text":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts: 404 lines of code: experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d49fc2d94636a79192148c8beb1f498bbb4a3ea816fa166c41b6ac94325658b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9157717c7cd06636c55f251dd7967c75cb44828cca13184cdd03151077174aa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_remaining_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d816907d31f20df920ef19ec5009bd39015a42ce707362dbc69839d490ce9a0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_11_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b020fffcb9bc49f1ad09f57e23701113791c4ee0163b1e1802d856d2efd2d15e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d60c733144ec6272b23c189107064a95835fc23c2fdf236fd484fa38ac1d263"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_candidate_pairs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2e7e5f4a5aa6bf283add8f9ed49ab0ffe397bcb45081afa8f4eab5a4d72468"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7838cee77ccf878073cdf597a56fd4be7c1a18d940ccffef5657ea35b7e0443"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73020388cc90091596f3fb81432095ab7b17ab933e587b504a5b00a0141db94f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3161601e3e1312d4e9f53d64062afdccaa81e0882c2dd69adb3ea48a812760f7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_oracle_diagnosis_report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e3a86e1ea0714d1e403197f9a858ba1ef1407ebb3f60419d6e75eb177be881"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6a15d7dce12cf61389fee159f3fd6f9badc82b70c3fd702fd9cc91e2d4ca01"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_7_preaudited_cross_version_split.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca37b37f9b8d2e139eda86907c6ede6bd34c7dd34b2cb590dc145c82ca0a3553"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4460d572f57194656094d43d02c10cf462cfe747df1757649455c41fbeb16c4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"435b04ecf5a796f9de72fa0b74f144a485e1a39f9f16d1bd5e42178c4843a138"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c01afa53a24ef3dd2acc5d6f547198cb35fb89924c96f6d262c9695f388e0e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_11_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f13bb76c15a873d5aa9d4e8ed386f53a51c032b246b16015b0bedbf75b8a0c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d73c0482c37a12d550ae1bb4b1660080309c2f48d10b221785a7a3590c0fa17"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/mohwNews.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47084e5c1eddbd54609c760030c24c357c1d2488cf219fa9f062825e6535c160"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0e5ea495d0b2ec34acf237527b2d9ec01870c1f42020495a6a74cff8dfb198"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ef54cb82b672f64ee5977255797bdbfd08daca0ca975ccb22a71a0bfa22a56"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a25be4102087118ba85c459bf4b5c141c796f816363d1c946f0081df0e140d9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aa9d2e631fbf6c7432119d481865291bc376dd1ff9d773068a6878b60c7c2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_12_predeclared_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b86772b09f4145f0bd05714880c048ea82f8b8b053aa613e358248431534bf5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/build_v6_exclusion_inventory.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8e4e7312c7b654db28d545fe6adeae8270d4385c3dc3be46e55a18f9a28ff3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e0a7a6ca1836ce26ebe9b40d7f3948ca0ae819844818ee4004bfaac5c70e6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_21_lexical_weighted_rrf_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ac0d3ac9cdf429ccd30b35606f61730d4e3f7ccc3e7d5250534947085887cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/audit_v6_source_capacity.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8748e5f9c04e8845d73109a2cc347eb5ca1c5889bfc14b90372e2ef30cae5465"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfe00ca5c71090a32ac85f492e3fc977b0c3696227a3665395622df6163d668"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/trace_oracle_retrieval.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d5e42ccf551a76b1ac38ca36f9cb607a255bb7bc1de671f160a320a6e3e5e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/run_oracle_counterfactuals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"810b40961e19cfd7ca63b5ac337805861f5902fe9cff04a475d28bd60d2e9abf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af2854b586c0f7f73c5858d514d4ee51fabe47de1912d6917f51dd61677adf4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/analyze_r2_22_gpt56_blind_review.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32ac1e1027346b75cba45af98d89e2bef46e83c3ffeaefc97293aa9b6db5a56"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5927466b0f4c2f773d4e388db07bf4cf0f85437861dcdefec18eadc449054e83"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_10_fresh_test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d051d40c0f6d263e7710e038addf4dbec161b751c99218066e2232376fc343"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6384f7081cebdd56da7c4b8617aab351313529a829f9f3ff1b734e1529045f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_11_sources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f679f61575a8b03b7d4d45aaeffe422acbe948cf377e93c3e4e754f6572d16b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b714b442b5d275d3e8a3ef71be275085945d298de3b79bf66775fb6a135f21"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_11_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a471620c99c70b6dc2fa41ca2b6faa9616491da9366bc2c2fabde779eae5851b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_19_sources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3c326aa26c464b87baf6d7f647eda4bd931e8ef106437def280f2a5f1638f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_11_physical_activity_candidates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3ab650a3358c01d49babb86f1d66dcdf1255e23c09d773e9e2b50862fea277"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f5d6f90b02a74cf2ff9a9f6bf3c44f59e65c2bc6ad3b81dff43784a85f5d80"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d499e09789c5d1585ed32be016e24af06fb49c83911907b899d377ed8e7ff00"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7f2dd798470dd5e63939b1ec0163e9667f10849611048fbe1966c2c8a535fa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/gemini_rerank_client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5a04f1817a5184686e071bb090b2d5ff2f2d40704895b63cf94a3989f0addb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4341093cf061dfa05f4a0aa6e94ab418fe5070aa7aa5cb2ed4495941a3be58"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf38469d476323b8ee88868b70caff0b09c1d2f50cf2a31d06b301bec775c62e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/compare_recency_oracle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"660a6161d5ddc9b48e0d9f2255dadb36e837d7fbaad480f93a9b806f444e71ba"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81697c4079311a1f35ae77b8cd35a0b4650746593f114cac9be2333862fa3bd3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e9f8cdc8fadd58a3a7513439604ad7ca882c02e5c5b364de795073ebd8e7a0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_9_retrieval_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb4deb90c3ecdb8406129f1de1133cba7cbf06741c37f82991a647859cb6ff4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/prepare_v4_devval_sources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"927b1b4775d7afcfab0468d5c5dc3a970dfbe64fc07fbe4ba4d338b627dabd08"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bcff2ec2c0caaca29fcb9969b69b13d3ef10ad74ffdd471dad55a58ddf2a22"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1b5e26de8a81c29834470d4e87b7e061ef9447580cfe8a10907064f8e9be88"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_11_physical_activity_candidates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dc0e65d4632340fd59247f32879f6b37af6e1460b2cfeaec3196ec512491e1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/classify_relations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36ee15c962533d7b68de802f8a059ecbf448c9918e88ea951091df6ec1afbb2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/export_blind_answer_annotation_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef9e977d88787c9dd18d2f69f1dc5279b19a2515fa8350a8806ae814daa1d1f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd241b05af1825fafa5e3fb000a7972acd993dd3ce0c3d0a1b7891e6c42ad93"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"088cf86fe59c828fb88acc4346dd4a88112c03df56eafb65d2814d4dfda6abcb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8c71481fb9c6aa1cebc11bb8b78dcda0bec96c1b6886a1b7ebc04b31af64d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_heldout_pipeline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5756e16cdf96080e7f88364769d3e063856affd5eceab53c24f8b1b023103d03"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_14_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0c5b39bc7008f947e8adfc85347f37ac97c74fa296c6a04e0e0f06b5ffc6d6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_statistics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86a30ed99e8b06419be745873e114b6fd0df4cd19100101d653b5d2764410a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de8bf5904436d781c341cbe48e6bbeb42010911d17e2b8b3d39a988e5d0dbfc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d468975c9e126b176f59fe8582a9010472fea8acb084dfa31d438ddf2cfcf29f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bcf6b808f4657ba3eb1757f3720a805b7b950767d704583771bd79a917f3e9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02293b4137eb79268b6f670cf54e427fe72d279c8fc8e4d20dc62a77e26ced1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaf8722c9892704931b3e29dd78fa19201238e79fdac47827d9947106f80f40"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_action_detector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f58b732e4dad2d42aa7b019c7c9295b83c19a3efe42f9bfaec7d6e954191c2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_12_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6886fde1c75e0cd7f6f0c92c76f717b0ed0946af82072896bee20aa9f67b941e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c13ce59040d6946bc4c97535a4c89bfef9bae083840dfbc9032ac5871b00208"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4301f852f4e490b934c645ecccbf61a7a141145b10ed2dfecd194a364e39922a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_frozen_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d200c04a30a3ad558efc48bd7abcbd65ca26e689b6d1473c727dbeed324c76c9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/build_corpus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc81f037778831daa18ef4e877eb1231428f0b6748200e7af6d4455f72a16f88"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_policy_graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c875ec42d29ae60fffef454f4cb5c383a60079d6a5427dbe261ad0afa4c64e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1ac8a713a58c5db193559c0fb36bff00eb22c785fd3ef941733a2d9bfe8322"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_dev_safety_codex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f9ab8c0c37b02db9c63937824e81f1a6a5eb513f3a7f67e9a3a9a8df2ec41"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_safety_owner_signoff_and_freeze.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f3a1014c3dca3e4d405fbcd306607e32a78c50b47dce166f7a8160ed463750"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aae182dd44b7eca632af0bb776ff49416166b3e0e95dc54f6b3baca1a6ba6f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_20_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f401fcfbcdaa4b53334f08fba9484a54beb4ad49cb7a4bea7959ab846442caf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/record_r2_10_owner_signoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32472f70a5ef93f006bbda9225b20e13a02fdf4d06c63bbe2d313d232ea66f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_devval_codex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27212c4db081c2692dafaadd6a2279dcb5a6e63afffeb20c5c413ce9e69ef2cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_22_gpt56_blind_packet.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8778b6e15ff65dd5ef1f816b3c5aeba320e441eb3edf8ae655ef3f58f89fcbbf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_19_minilm_model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c14a6394b0e4e1ad0aea9fe05d96c1d0178172822838ca758e6e8759cda54ed"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/classify_conflicts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae9a08703572f341dc8dc6e1891aba30fdfd1c2163d4cccffe11fbbaea7af81"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe0a33427cdbddee745bd7792b93693566d780d17887f54171a2f5fb365d945"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7391f81609c242b6b1eea2094bf7d7573bf0d85fd1502e757d3898895ca670"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/record_r2_11_physical_activity_owner_approval.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e8c0439f90b18c8572cce37f14637008b65e9f29993858147aa4d272f220ed"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64b52c3f92f0d4dfe7adc0969a5cf25ddee260783002551b43c7569145dd0e6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/replay_v5_devval_relation_policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92590be61933b693eb9b6eb816e65e92a0129c38389149e5544451a0ea40cce"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_20_annotation_authoring_plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb403130417e2070ec0cc29dbf10b373fec02e99b3524b4c3fca6e5a48f46dc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_answer_eval.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4742ff50acd3b18cbbee108e5984cf0707a1363a22b5536f16e421bf0d1d43"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb932c3ce64e1a0790515f4225c013a3eb60959cd53343d1da6059452641766"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_fresh_test_draft.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c3a48cadf9cd6740de17bb927ba60fd08df4a443958c753c658f6b33ba7e6c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_3_codex_action_audit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90aa7d6cfda7a4a8bc8818e5ac2816668103daea9ed46020195d4b6f62ca0eb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_13_top3_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a96c218e040ed9ce4510167284acc184f33b5b838e7385192a654cee4804eff"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/compute_agreement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6913e172c658671398fa5bee1d8af6e08e165cec26962369513b3f81bd2f31d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_focused_policy_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb65fbbd641e9baf1a091caa5a5c9f7c0a6467799012d272bc5defeeedcf3b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/corpus/assign_topics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c973368f84595fa0bede2bb7171e2cf1d982e745fb1fc5bf9955bfe7c545d17"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/apply_policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7641d1c2319bab7589ac15bb16e1e047c8f3cf5304e9c7d8b0bab6b3b4c4e298"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_codex_review.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a72e5dcbc0c00127800d7b4a71f32b18ce018d3bd0517f8dbccd2271a86bdcc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_10_fresh_test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f295d84a49b72ecb7b7703e87411f923139078c7a435292aa5df359d47d645"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d39521d5380bb955a8eb7963dc846ecf727ae37b4968de57101f8e5b013bfd4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_12_candidate_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4036ea3514b680d84543713929dfd8efcdc48e089a86544a50609bac0a980cd3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_r2_8_shared_pool_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7bc708a53328baeef32764f811c919998f0a4ed72d3de5c944ce2a6834eb88"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23572e529d5a049179e984045bb2483b54c730f51e6991642518960db9dee7b9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_21_lexical_weighted_rrf_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca80b6e445949c898ea6c185e9728a62e0cca7bb8e4acbbb93503e973846101"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"035ee1ca3484b3d0675d76099f77d68bdf45d7bd420aac76b3bc68b702b7d644"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3527396079a6ebd7316f4c4d95b8652931ae35c5928ed064ef013b9b99dfbb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/build_v3_reference_snapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb73e96f34071c7a4d28d99d838721f715a333a846a5e09d100b1945689e6752"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76134d5a1220f4d278f3638396ee054a116645ac3bd63263c6cf1f3cdc2d560d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/prepare_v5_relation_detector_split.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8766108f48b012826d896e6dd2190585c3bc07ef7b6eff2af67ed703800f15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/review_r2_16_candidate_groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0626c7269e0a7cf0b1d986b5af152393dd4ad701d00bf85992b11066c1198e3a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunk_pairs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd18f2060b2b6313664cfe5f5d8fc21a742451f49827b1bb7d93662f0b6e0a87"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_16_annotation_authoring_plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef5b593fd2edd7e7c3d86a3b935a6200bd6cc10f1790dc3b467ab0ac5d39ed0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_dev_model_selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c70bec5bbbcff74ad2634efe420c3970e4124d8da6c58048844b9ad0a7923b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_safety_review_packet.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6181c607b99c49cd684fc9e6791cd4acfc9a542e099186c10407758b2d311bc3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_codex_mined_claim_pairs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2ef75bf486e52ded0bbffabb8b27b759338c28cd677da95875e48ecc56e031"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/select_frozen_v3_runs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42131f4f0537ac202a6e05f8933b48de85df7b7184f473d1a46c991df8f78623"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_devval_expansion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78e48aa8266bb50f2ce6e810fa7ae5da56fd4867b1a1c9ecc9f8b15999bc3bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa13afccedc13444bfac807bc3e1aa5420865c9f5747865fbf6cbe191e590aaa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_12_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db1cec96c0f2d1a5f2582b74591cfafbbbcd7d967674a1b2cb63bbca15b7d06"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_frozen_fresh_test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0acab08f5a975a0dc130db3187210bcb7a8b2b0982cef7c96e10223238e0e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_owner_signoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa57242fb88cdabe0a616d35a5fe0182472d76eb870ff0d59bf43c65a433d353"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_6_query_conditioned_split.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc9efcfcb0ab3fe75b0f6c49f38680483289e3754aa1b8f2b545073d3c27b42"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_21_lexical_weighted_rrf_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabfa021148b27045cac38297d1f015e4fb8bf50c6a0cf0ecd72ca47545d4326"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_v5_relation_review_packet.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c3b1eabef787b6b9220eb0a0f1a353bc311201265cd8a3cc29f81fc8c9cb4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeb8ac940eea016552f0d35bc329ac75556edc26d4ac61b5815a7ac9cffe0ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_10_policy_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafe9118e036d649768f976ffb678564bd92eb33881a1b99b8b74373bc571b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_validation_safety_owner_signoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"447dfaa124de15518701e9c62e6cb2e75f79af612b795649df64f9c14a1a7d24"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_4_atomic_action_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4711e7ba52274afbab2751dc107b5374a40199ac2a8a347e9e49ac2ed506fb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3835916db0fdb5461658f0e9fb680dbadbd62af17298543982f3ce483db03d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_11_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985109d163d50b69ec3720dd163e3e3e6a3005a8a3df94635966d3314b5d45e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_20_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfda169ba94233bd2a9cd7a75a0c49f50b59c5f9c42330712ab1f4912b3dc85"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/validate_v4_owner_signoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db74050a6f0ebf8372b4a03b1e91938268db99a964eef545b0527e0b29505d57"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/validate_r2_11_development_ledger.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b580a2ccbe63d963d1dc0e136fb4fdb913bee6a2fb06907bce03685d2d7ce4d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_5_official_action_expansion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de84c91554daea7f6a50e846103b3b9b533607e8bfede1ab0269ecfe12538ab4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5743ee68c52ffeb50fac8f5b298dce365b98d59cdd5fd228f6113739ba439f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_19_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e0f49f8618cf5656989e80b12b97278047a10c67ca4dfe58a60d0ba0019ca4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_9_retrieval_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"272782fa4b7a34fbe84b1d1ba2a65282e8b5cb9c7b7b39db43f2ad2119f695e6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_6_development_labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"938636aaa4c375b8609208e950c5ead05d064c953800d3daf02a0ae5ece6cef0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_14_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d85ac8356a5866d4d6c186e714533852ccdf00bf4056a877180fd4c0ad3de0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/historical_candidate_pool.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184f4110e1f71adc01099fc51c8959b9be0a554f9da8f9f8cea884c8f037b960"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20efbb85edb04532e2046f3519ffbf9246e96107fbebf5294e0828ea5a41afdb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/normalize_markdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad5d915bc9a7110990c969261604d4f01b14a7cdf8c7171aadeb007fac8876"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_16_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c731400c425603c37d84bc0127f73babcd0cac1e55e85b6d550f1d97ba0cf1b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/adjudicate_v4_validation_safety_codex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe2ca752b176e29bbb654e2dd552563e93f05a66ecc1a6caffc5eab3161fee4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_5_local_tree_development.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6c52309ab4092db34408187c5bec2a86d3cb67cb3083068a8fd2296f765d93"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_and_freeze_v4_fresh_source_windows.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccd992effbe8847f3bab71354b9a6b864ea20d85cc940efd1f783bc77b1d615"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0424ef17d6cf57a404e12c88d371562fb5488c60c5e242283a675734c011e5cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818d864a3bfacf3b342a0163b2ccb46909b19d3b003729464b6b024d4030bbf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_fresh_test_package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3949a1134e2c777a68400c6ecb40e7299ece9435c299a792fa58fa359b22c72d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/audit_corpus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88ca88574f0e2aef3400b245ca14fba801238a03aa015bf46c8dcbd152dbbd6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/summarize_v4_reranker_models.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d6d3f9999ab998454f506893b502ee93ae8550d84d3608f9f1bb197fe7c10c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/freeze_v4_devval_splits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fed2163ab4da614766cebc23509ca9263e588b1b428298e88ea28100df49f0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/review_v4_fresh_test_codex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52df4ea328bc1e51cb9f43bb8072a4dae4b5c585675400a661fc95f0ed7f944"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_15_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e899d60301840465f8d55db41b856b147b36ad2589551d6e3df932664499b702"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/r2_20_confirmation_schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5603095d7f3d49bf671d6f2899fd6a2dea948b45437821e531c651e106bfcbc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_validation_safety_review_packet.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb868c765c9790f133ef6679d063bf2d7a1b34959e9cd506964f0d38f8f8ff1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/validate_annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919af449a9bbf9a13bacf41cbe1bde90d6f17c49cfffcef87dd97d7d341754e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_18_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8c4ae8343f8842957ca3bd2bf1d2ed8be3037bc5d47992e79fbc532373ff4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_codex_mined_detector_validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c570167346079ea2b3eb0c9c0a486d0fab8b32755f4762b0e1226c6a8760270"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/read_workspace_code.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1287a1d2ccba1cd1f2307af543c052f2bebc2328a0360dfde72eba5b4bfbde47"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_splits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b30b37f16e33ce500c387dc19aeb7ad6c8bc1eca1152267964afe4afea7977e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_10_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e1da12842840bfef832882c2e19dc232a1e672f37eec7adf3405d89f99918"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/r2_14_confirmation_schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aca5cc2eb29ad73babafa2b5b1039353e7bcee344edaad9ddd52d29e3376ffd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_codex_review_packet.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55e6d9df67c27c9f6765ad24ea794c2d55fea29d1d2aa89d70c8c5ac1c59979"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/r2_20_annotation_specs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7516c192f7b6a61f7e86cea0aec525edf26dec01d2475e5fd8c32df6bea8169"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/verify_gemini_model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae62c1c4390d17341c5e6bf74c27b36ba20570274b27d5c3df4e260cc92c81f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_21_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a31e08087bfb54e644b2cb11985e9ac38e3fb193a69509661fc18691ddf5f10"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_13_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1174e17cd5160bbf28fb43b6345b8882d0f8f973d59def6e150867e7c0657e6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/validate_experiment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a477e31caf6f89d5185db00b0767024df25b2893a24c0b96669714dbecf0e0f0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_corpus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90d765b725672f5f38f25977b39291612a039fc9262cc0ed725514a9604a6f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/prompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b150edb1cc938f6eae22e6f9fe03ca84a20b1098ca054962f32f08b54c6f5b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_7_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897610c1b60443046249bbc7b8f8c3f64ffc1d80dc7f31f73494ba249a0bccf7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_9_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9904a352e460f4c28f34ed4fb503163a8da91bbdcb56b926845cc3b59b342885"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/split_codex_mined_claim_pairs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c62f707da3d5ae9a0df6edc5b49805f8d165087a5167458a34e66d0366c910"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_8_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7fc3fe419ba8b66e1aa880c99e70f6a50c85ab14762611be5e0eae3ab7f85e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_6_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"944ac4ec2ddac61648bcbfb424cea5d1fc45f7d880478561926c924c30e03695"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_fresh_test_owner_signoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f37ad611826f51351a237fa3b0959a8afba1943a34b5b75da21f438167d1ae7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_devval_source_chunks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89caa894bf213096e600f8d12d83b699fea981a415050a47f0bb68409b291d8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/relevance_reranker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c907ef07caa2c58e2cf04c57f2dfada11f49a5ce1ec839f642f386570e9244"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_fresh_test_retrieval.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e99200f6bc756f9232b3f40ba36fae9a914668e4aad8f8ba97691ab546205a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/finalize_r2_10_draft_artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"288d9de25fdebecf9f92951b0059f71a65de6674fc5e7f6b31e10aeaf6f841f8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_frozen_answer_generation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e763ecd9c14cdee32aed002f64bd5a9a001d2cf18307775c0bc7d7a4e0dcdf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/inspect_2025_chunks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b442d1ce2a76d44e1f6320680dafdfa6ec85a5c0c33ffda6e8c76f3a5eb5d7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_fresh_semantic_amendment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118fecd637f02cee5b41ed5987c6f480f929be8c90f696ee2bf0de54ac76f764"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/v4_frozen_prompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2b4110426ba8e6338368c6d4d1aa2bf741e0939e2adc84c8f64d17c2c35fce"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_answer_generation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf795711ba128bf1af9050c5210539a17cfc1578f3173c8fb9aec9f98acf1709"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_posttest_predicted_graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0c87fc10d21da6d18b4fdfd52403868416be25140e8b39e277726d517e178a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/record_v4_fresh_design_amendment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0a324b3d68bb7f50e59a21cf7befae361003ccbca530c1ed2e01e96649061f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/evaluate_v4_posttest_predicted_graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcd0cde7d74033910acd7b8535fbb7adf4af9b05c7133a282ea7419d95a77bb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/build_v4_final_research_status.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06f28e61ff541f114e914363e040e1447a7dcc70113346912ff1408407826e4"}},{"ruleId":"R6","level":"warning","message":{"text":"No test, lint or typecheck script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BaselineReferenceSnapshot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/diagnostics/diagnostic_types.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae1cae0bfe312853bc50abca5f7446b4aa7cc568fce41ea6950a39c918889aa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AnswerJudgment\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/evaluation/answer_metrics.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e82549e60771fcf85d1185a823359b6a6fd3b89f24632a0cefd766a25212df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RelationDetectionResult\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/types.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2132d5e342cdd02f0d96ff458767c8275a0e89704e8007909d61d0baad114441"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027tokenize\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/versionAwareRag.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5d42c76ab76f60baa7d5e9a61202466f3d5dea49b02821bc7a2502c7f3e03f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AGENT_FILE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/workspacePaths.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda14c18e70fbed739cfe3901a4235ae351b578e6def5c49432b7d0511e14c14"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027INDEX_FILE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/workspacePaths.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21de64c2be5cce6dfd1916836e98da767a512ac364c57e8fe891cc846943ced"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LEGACY_INDEX_FILE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/workspacePaths.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d14863c1039a6fe4e3287089bc2ece23e4f90d823202272735b676c2414593"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RULES_FILE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/workspacePaths.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4a8f41518ca71ab5dd164f3852eacbc95e70599afc7587df55ad5c3c7e921"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resetStorageForTest\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/storage/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/storage/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/runtime.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6406d21705be3ffabbe3dbbb780c904ee9169c858477bcedc7db09c39f79b202"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createSupabaseStorageForTest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/supabase/adapter.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1284543bb3dc3e182443cb1e51d4465e05288af133a271de920198bee4c1a2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getSupabaseOrError\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/db_tools.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"05feead64c35a678b51fcd946459c94f870dcb5d892f212f4a8aa692fada7b2f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027mapLimit\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d40083f3d89c2d5f878853a639d705cc3184345b2aa69023f0795f01799dce1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027prompt\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec5086dd4c59249020671b9e2129f92267602f000f7bdde4d65de4e210e90f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027getTopicFromLegacyId\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/build_splits.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"70599be42e8fde913ff28109061f7d5eee2e5215eaf95650761ba131f25ec84e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027mapDocumentRow\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/ragDocuments.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c984d2e2bec65af77b4c22b7a501996a52b4a918f7dd078711676315ab1f1a91"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027fetchExistingRoomSummary\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serverHandlers.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad15cbf370bed7cbb84e4b8385be3c17211baf5f5a1f62608ab6b53360df7d"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027yaml\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"489daa46f337eb4ece30ace7edcd2f049e00ee4e84ebde9767a1cbcb3f2cefa1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@langchain/tavily\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5bee0789d5796346fd03707856e8e42f85c8d0b67868f7ae79842c4558afae"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027body-parser\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc3eabbaf79ad820de549316ff2dd628924c20ac770e36c84f0044df5ce714c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027deepagents\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed417d389389573e315d9da32475747250178962f554613b8a4a2da69a6715e0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027langchain\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba12430d212be4825d9ab3f4ff8a1e4b9e8051e64d68289226218c328312a66f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidate || typeof candidate !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 agent_skills/conversation_summary_tool.ts, src/server/profileApproval.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/conversation_summary_tool.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7764f2b052783701c9262308a8e00b14c09030902df1221d69ba92e62ee9d94c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!excludedChunkIds.has(chunk.chunk_id) \u0026\u0026 chunk.text.length \u003E= 220 \u0026\u0026 chunk.text.length \u003C= 4200 \u0026\u0026 !methodLike \u0026\u0026 urlCount \u003C= 1\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb855067cfcc92c83bd6f9916726537d7f2351b4fe1cc07a9f3b53b4cfdf3d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!group || !eligible.has(spec.group) || plan.get(spec.group) !== spec.stratum\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa40ffb41819ef0d1b437193e68786a5e050552dc8e8871b92865a821a16c53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!implicit \u0026\u0026 record.required_retained_evidence.length \u003E 0\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1af67655f1bcbe0f86d375bcd988f8f69517e5f5937a7a51ce9a86e5bfe490"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027published_year\u0027 in c \u0026\u0026 typeof (c as any).published_year === \u0027number\u0027\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/run_experiment.ts, experiments/version_aware_rag/src/retrieval/heuristic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bde9899dc358de3121e6cf9425472818beaec01460048e7504e9cb38644f0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.chunk.text.toLowerCase().includes(anchor) \u0026\u0026 b.chunk.text.toLowerCase().includes(anchor)\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a25e1c69b824d61ade38b217b0225192830226a2b5c3032ebf64ac936cebd77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args[i] === \u0027--config\u0027 \u0026\u0026 i \u002B 1 \u003C args.length\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/run_experiment.ts, experiments/version_aware_rag/scripts/v3/validate_experiment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9268f57128cc3b9b9b5042363ff406649149a0b06de9801162a2b01ce0a37098"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args[i] === \u0027--model\u0027 \u0026\u0026 i \u002B 1 \u003C args.length\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/build_policy_graph.ts, experiments/version_aware_rag/scripts/v3/classify_relations.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_policy_graph.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca83ee919309f0b3e7e85383e0e559c8a9ad028046bd84697c1016be3c0f6a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args[i] === \u0027--outputDir\u0027 \u0026\u0026 i \u002B 1 \u003C args.length\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v3/build_paper_tables.ts, experiments/version_aware_rag/scripts/v3/import_and_adjudicate_answer_annotations.ts, experiments/version_aware_rag/scripts/v3/run_statistics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"349645d16664bd6a716912471fa9efd19786af75d564f40c65bc90781bbdc219"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args[i] === \u0027--split\u0027 \u0026\u0026 i \u002B 1 \u003C args.length\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/classify_relations.ts, experiments/version_aware_rag/scripts/v3/run_experiment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/classify_relations.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b7057c9659d836e32b160e19a7aa8f7127514c805dac890de6eb2ab676de12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.anchorCount - a.anchorCount || a.chunk.chunk_id.localeCompare(b.chunk.chunk_id)\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e632ea8c0b0c00460bd56342caec86d969020fd6798702767627bad29079d280"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.final_score - a.final_score || a.chunk_id.localeCompare(b.chunk_id)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts, experiments/version_aware_rag/src/retrieval/relation_aware_pair_policy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f26d436a65f1744a549a6bbd9787aa9cf3629f04fd9a86a418972b46203654a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.metrics.pair_preserve_recall - a.metrics.pair_preserve_recall || b.metrics.accuracy - a.metrics.accuracy\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca9725eec7536a2bdae5ed7d01e1b0abfaeb7159dacb8a66b387164222b3517"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.recency_score - a.recency_score || a.item_id.localeCompare(b.item_id)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0525d3417399c00da2d171c42dd54bd3643605918dad9c82f18caee2b2b3ab8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.score - a.score || a.a.chunk.chunk_id.localeCompare(b.a.chunk.chunk_id) || a.b.chunk.chunk_id.localeCompare(b.b.chunk.chunk_id)\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6606b9d0cb4ae5f801c0b03244bbf81e96c97043f7c38ca5c7fdd718cc8f2f66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.score - a.score || a.item.item_id.localeCompare(b.item.item_id)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a266150ffcbf9d856d0b7a24a452068d5eef877c1f5dbfd8199f11f5ef2ae80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.version_aware_score - a.version_aware_score || a.item_id.localeCompare(b.item_id)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ea204c59a84bc0b78b3398a5522e977f28ef723c74efaad1fcd80407b32ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027added sugar\u0027) || bodyLower.includes(\u0027sugars\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8e5b91fdf1c381d43edee85f0f9f12f1e9ae3aa4513397539b9cc01141d14f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027alcohol\u0027) || bodyLower.includes(\u0027drink\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e97704d1ad8e29560a3fec00ea4ccf20b7efa8d20f9086a0f5a894df7150079"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027dairy\u0027) || bodyLower.includes(\u0027milk\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5edfd5aa2c29e97c5fd6756bfa9077cf58baa946f80c0b87535beaf8d75721"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027processed\u0027) || (bodyLower.includes(\u0027nutrient-dense\u0027) \u0026\u0026 bodyLower.includes(\u0027calorie limits\u0027))\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b31fe87acb1e194d3334936192aca3591e5334abd76f25de849d321d136ff8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027protein\u0027) || bodyLower.includes(\u0027meat\u0027) || bodyLower.includes(\u0027egg\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1990d3dce1033f9fef8a9ee14a6e6532d490e8b78f192235cac95abf697d155"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027sodium\u0027) || bodyLower.includes(\u0027salt\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5564cb88c3376970566bb35fd7eda2ed4f03d29d4b1a8bd0de23c7dbf3d34146"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027sweetener\u0027) || bodyLower.includes(\u0027aspartame\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8600bb12b430dd5e88ebb489a83d06cd03de0013a5f133e074d9b278e66a38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027vegetable\u0027) || bodyLower.includes(\u0027fruit\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea257897208b3015cc0b212f5d7f37e508924865e29ac5e23ad3e655b971108"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bodyLower.includes(\u0027whole grain\u0027) || bodyLower.includes(\u0027refined carbohydrate\u0027)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/build_chunks.ts, experiments/version_aware_rag/src/corpus/build_corpus.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/build_chunks.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecfdb517c0a4b3f63672ad489fb4b49eca722f86b24e00f7d46448fa83445fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.metrics.false_preserve_count === 0 \u0026\u0026 candidate.metrics.pair_preserve_precision === 1 \u0026\u0026 candidate.metrics.pair_preserve_recall \u003E=\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd34d2a31b1e93fc1f96358472e88d3c25f706a79bf82af20ce409848ee27c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.edition.match(/\\d{4}/)?.[0] || 2025\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts, experiments/version_aware_rag/scripts/v5/build_r2_9_retrieval_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_10_fresh_test_review_packet.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"11be24b81a26af273e041c636d7317e920f41c1c3e4f8ef8d018dc9b42d96c93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursor \u003C selected.length \u0026\u0026 selected.length \u003C poolSize\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts, experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"739f68d7342c87f72bfc9b7dead6ac8427cf5e5045e9173738a9e259fd90fd60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaredGroup \u0026\u0026 !declaredGroup.has(key)\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d012a26216584b6c02078cf1562eaa540802fe859c0b25627f6417a04a7aaf13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060documentVectors.length !== corpus.length || queryVectors.length !== queries.length || embeddingIntegrity.dimensions.length !== 1 || embeddin\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"098af0b1524b342cb7d77051f11c5900cd2dc0c1d80f7c8d338d5a7083d6841a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.toLowerCase().endsWith(\u0027.md\u0027)\u0060 appears character-identically in 2 files \u2014 agent_skills/file_tools.ts, src/server/knowledgeGraph.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea97aa5ae2c5d3ec4276516820aa4f4c452307e903029113ee5cdbca9a9f2fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension === \u0027txt\u0027 || extension === \u0027md\u0027\u0060 appears character-identically in 2 files \u2014 src/server/knowledgeIngestion.ts, src/server/ragDocuments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d02d760ecf361f00b959cd7f2d8256f2ce753cffc5d9593ce7f7d4dd586799e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060freezeErrors.length !== 1 || freezeErrors[0].type !== \u0022ReviewStatus\u0022 || !freezeErrors[0].message.startsWith(\u002232 records\u0022)\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98bed3fc655851c82a0ded39e7fa65884904b31625380d81bf2d47b9b49649"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fs.statSync(path.join(v3Dir, d)).isDirectory() \u0026\u0026 d.includes(pattern)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/build_paper_tables.ts, experiments/version_aware_rag/scripts/v3/export_blind_answer_annotation_package.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/build_paper_tables.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c12918307cce1914fb3a034542df14f5c602d14db92938d893586eca347295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060globallyUsed.has(pair.a.chunk.chunk_id) || globallyUsed.has(pair.b.chunk.chunk_id)\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_16_candidate_groups.ts, experiments/version_aware_rag/scripts/v5/mine_r2_20_candidate_groups.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/mine_r2_14_candidate_groups.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dade38d1e923df0a5a3b95fd4768814629516ed464fc9cae5e0355ef3154f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060guard.status !== \u0022confirmation_frozen_unlocked\u0022 || guard.retrieval_execution_count !== 0 || sha256(manifestText) !== guard.manifest_sha256 |\u2026\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2b6e7999c5e1ecce2c26f62fbe416d166f119f817c298641d9928d8fafa1af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060guard.status !== \u0022diagnostic_frozen_unlocked\u0022 || guard.execution_count !== 0 || sha256(manifestText) !== guard.manifest_sha256\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts, experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_21_lexical_weighted_rrf_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbf2b7e5cb5e73a590203865c8bb168dccfd8e14f7915f71916c29515f8d1a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060guard.status === \u0022confirmation_failed_locked\u0022 \u0026\u0026 guard.retrieval_execution_count === 1\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9789fbbd6ec95bdb9c149f42c8aff9794f3e3a0cd59c53107a0aa636cd913f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060guard.status === \u0022diagnostic_complete_locked\u0022 \u0026\u0026 guard.execution_count === 1\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts, experiments/version_aware_rag/scripts/v5/audit_r2_17_candidate_recall_diagnostic.ts, experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts, experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ee2d53c4afdb6944ceacb2097fec34a68376f1fc2eac12301dc3379a23d0a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hardEligible \u0026\u0026 Object.values(strictImprovements).every(Boolean)\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25e32b1f6290f47b011b98471ad67e3df1ec015f33a03f7a4fc37aa4a6785c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060headerUserId \u0026\u0026 (headerRole === \u0027admin\u0027 || headerRole === \u0027nutritionist\u0027)\u0060 appears character-identically in 2 files \u2014 src/server/knowledgeGraph.ts, src/server/ragDocuments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeGraph.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"df78c2d6ef71cad667364db9407a8fe29aa94cfa7c1a68274b01670f1c1d1b46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060implicit \u0026\u0026 (record.required_retained_evidence.length === 0 || !record.implicit_retained_rationale || record.implicit_retained_rationale.len\u2026\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7392b7282e0213737165198f84d97dfc8843731e3f033dcb46a9e25beffe7590"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060implicit \u0026\u0026 EXPLICIT_HISTORY_CUE.test(record.query_text)\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"160db7140dfa5e2dcc09ad54461ce9ca29809f9f639ca3063d6f209c0df7165f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.chatHistoryIds \u0026\u0026 input.chatHistoryIds.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/storage/sqlite/adapter.ts, src/storage/supabase/adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cbb01416397fbe4ea72cc8cf9c87a6bfa0d304c795efd6f7421ca25c40919d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.recordType \u0026\u0026 input.recordType !== \u0027all\u0027\u0060 appears character-identically in 2 files \u2014 src/storage/sqlite/adapter.ts, src/storage/supabase/adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3786e013b1ef45d31d59ae6b0b2fd92a1006b4d69a2f34ea2756c0255ce34bc3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060j.deprecated_chunk_ids || (j as any).stale_chunk_ids || []\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/run_experiment.ts, experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c55cbcb3eee1a10f21b02db58327e6d8a01148aa92a8762e0c7ec000b0a06f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060j.required_chunk_ids || (j as any).acceptable_chunk_ids || []\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v3/run_experiment.ts, experiments/version_aware_rag/scripts/v3/tune_recency_lambda.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v3/run_experiment.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67eedc7077a98930bd9182f6cec064e02e23e8cef39cd8e9da9cd841f728a63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mimeType \u0026\u0026 !SUPPORTED_MIME_TYPES.has(mimeType)\u0060 appears character-identically in 2 files \u2014 src/server/knowledgeIngestion.ts, src/server/ragDocuments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/knowledgeIngestion.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce1780f753603c46cc5bc2a9df87fca0368dd04fa2fc3ad26286e9c52e426f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060objectCandidate.kwargs \u0026\u0026 typeof objectCandidate.kwargs === \u0027object\u0027 \u0026\u0026 \u0027content\u0027 in (objectCandidate.kwargs as Record\u003Cstring, unknown\u003E)\u0060 appears character-identically in 2 files \u2014 agent_skills/conversation_summary_tool.ts, src/server/profileApproval.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/conversation_summary_tool.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"025d892dddb5ade835cbe9dd8a1c522cf167415a78527cd15ba86c68bd182297"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.candidateGroupManifestSha256 \u0026\u0026 record.candidate_group_manifest_sha256 !== options.candidateGroupManifestSha256\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9984f2e2b4fe13cd726ef1390752850cd00b9490e07ab9b1a13ecfad0e30f9d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.candidateGroups \u0026\u0026 !declaredGroup\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_20_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fecaa1d4727bfe479fbe297c6d39b791a2d861a4d2689e73626732e9027a02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060owner \u0026\u0026 owner !== record.lineage_group_id\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts, experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"736cb0013c407dba1fc7b50ba115d4ed5077f9c283f58091c82491ea859a2ccb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pair.length === 2 \u0026\u0026 pair[0].ordered_top20_sha256 === pair[1].ordered_top20_sha256\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a21db92bd5400034cc1c3dc411f0f2225a8e269f79c3bd21aba7bfe3fca5ce0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pair.length === 2 \u0026\u0026 pair[0].shared_candidate_pool_hash === pair[1].shared_candidate_pool_hash \u0026\u0026 JSON.stringify(pair[0].shared_candidate_po\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts, experiments/version_aware_rag/scripts/v5/audit_r2_9_retrieval_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_8_shared_pool_result.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61d88952d89442c927c3127300039ec0d0a2e513368c5237197e96452534bb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GEMINI_AI_API || process.env.GEMINI_API_KEY\u0060 appears character-identically in 7 files \u2014 experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts, experiments/version_aware_rag/scripts/v4/verify_gemini_model.ts, experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/draft_v4_devval_queries.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5f5aaf0db6efb406770c35cafe612f18260f9838da4fffd3b9cbf0a247701b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GEMINI_AI_API || process.env.GEMINI_API_KEY || process.env.OPENAI_API_KEY\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/src/generation/answer_generator.ts, experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7df19636ebd93910e8a8c61a530839dbc0db34726c69e845554e5b6be7bdc86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060qLower.includes(kw) \u0026\u0026 topicLower.includes(kw)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/run_retrieval_eval.ts, experiments/version_aware_rag/src/retrieval/heuristic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6417bf394a6fe88104ac5bdb4aae454bdaef1deb6ffb82a859fcf6e11af6ece5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.question.match(/\\d\u002B(\\.\\d\u002B)?/g) || []\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/run_retrieval_eval.ts, experiments/version_aware_rag/src/retrieval/heuristic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/run_retrieval_eval.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"603eefb40273c45ca499dcc1e2a06cae7dfc633f8dabd97e6d104e87655239f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r211Guard.status === \u0022development_gate_failed_locked\u0022 \u0026\u0026 r211Guard.retrieval_execution_count === 1\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts, experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_candidate_diagnostic.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8808160c33918418a5ec0c6669269c3e3cbe64c173227a78b1e5e171122a19e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r216.status === \u0022confirmation_failed_locked\u0022 \u0026\u0026 r216.retrieval_execution_count === 1\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_17_candidate_recall_diagnostic.ts, experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts, experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50d473e4c0a3a79c6b2e1a27de2643d609edb09d312b5e58dbf8a755b6e0bda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r216Guard.status !== \u0022confirmation_failed_locked\u0022 || r216Guard.retrieval_execution_count !== 1\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts, experiments/version_aware_rag/scripts/v5/freeze_r2_18_candidate_failure_attribution.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_17_candidate_recall_diagnostic.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"480c98652a25331b3089f5808b99073277ff3f14de39a6e80b3eb7d55164b465"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.stratum === \u0022conditional_merge\u0022 || record.stratum === \u0022compatible_history\u0022\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts, experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c071e078c0a834013e98f780c870ea69c05c604a2f8b4f1a637938a2fd457a6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.stratum === \u0022hard_negative_current\u0022 \u0026\u0026 record.deprecated_evidence.length \u002B record.forbidden_evidence.length === 0\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts, experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f38d3487f716ae05ce97eaf127a971ed2c792c10cb5f6cb7a0074701e0433ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status !== 429 \u0026\u0026 response.status \u003C 500\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f22d985925dc4ade3c20181ff3e6233eb5ef8a8701252f9442e7755c2a7c42d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060right.base - left.base || left.item.runtime_item_id.localeCompare( right.item.runtime_item_id, )\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcd35be7a4965a92d14bfbdd1a00887a1be5f47788e3c5ea59278ad5636180a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060right.required_micro_recall_at_20 - left.required_micro_recall_at_20 || minStratum(right) - minStratum(left) || manifest.variants.indexOf(le\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts, experiments/version_aware_rag/scripts/v5/run_r2_19_neural_hybrid_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7841b81fbd52568ca9e2fe60b0b93b4bee072c1bce047c831f4b1e8e712e93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060right.score - left.score || left.item.runtime_item_id.localeCompare(right.item.runtime_item_id)\u0060 appears character-identically in 7 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_12_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_12_candidate_diagnostic.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de532b2289b9d80d56e36d7b9f87bbff9a3622d244fd57c80eda0bc9e02485"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060right.score - left.score || left.runtime_item_id.localeCompare(right.runtime_item_id)\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_13_top3_diagnostic.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa372f5705016df57859b332fff9909669ecaadaada71bc0073fe870f36bbae5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.action_label === \u0027BLOCK_RETAINED\u0027 \u0026\u0026 predicted === \u0027PAIR_PRESERVE\u0027\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"184b7b317583f03d6ab6f4a6016e4244dab7482bc4451d607cda93bbf4eba503"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.action_label === \u0027PAIR_PRESERVE\u0027 \u0026\u0026 predicted === \u0027PAIR_PRESERVE\u0027\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_7_temporal_intent_development.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"529ddec57c34a04fa34429fc06b33cd3f509e1d01555fd2cc7203a62d93f66ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.current_evidence.atomic_claim_text || row.current_evidence.text\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a087e60e2db43d8073534c1e45b8760ecfd232f24c352477bc73a7a76c1a135f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.old_evidence.atomic_claim_text || row.old_evidence.text\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_6_query_conditioned_development.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_3_local_action_detector_development.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b08e32326657e5f75e2de01ec666e6d1017814530d96b2b05274466f0aa7d51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.ordered_top20_ids.length !== 20 || new Set(row.ordered_top20_ids).size !== 20 || row.top3.length !== 3\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_21_lexical_weighted_rrf_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a553cdc3fbda9be87b55cda6523e5d64559ccdaa2b7afcc5633073079d3c288"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.ordered_top20_ids.length === 20 \u0026\u0026 new Set(row.ordered_top20_ids).size === 20 \u0026\u0026 row.top3.length === 3 \u0026\u0026 sha256(row.ordered_top20_ids.j\u2026\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_21_lexical_weighted_rrf_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aca108a939df39ae1511b4dcf754de261517a814b138af06c68d1305038c2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.ordered_top20_ids.length === 20 \u0026\u0026 new Set(row.ordered_top20_ids).size === 20 \u0026\u0026 sha256(row.ordered_top20_ids.join(\u0022\\n\u0022)) === row.ordere\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts, experiments/version_aware_rag/scripts/v5/audit_r2_19_neural_hybrid_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_18_candidate_failure_attribution.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf1b35a95ce6cbcc036470c7515a9956361900322b0ba79d8765897cacdd50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.ordered_top20_ids.length === 20 \u0026\u0026 row.top3.length === 3 \u0026\u0026 sha256(row.ordered_top20_ids.join(\u0022\\n\u0022)) === row.ordered_top20_sha256\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_12_confirmation.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"206d16aee780a7f5a1aacd1d28936ea3b32e25723c33b1785cb8800a69879d31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.system === system \u0026\u0026 (!stratum || row.stratum === stratum)\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts, experiments/version_aware_rag/scripts/v4/validate_v4_dev_model_selection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/audit_v4_validation_confirmation.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f2c4fe126fb084b87e1825555a083de776245a7f1137ce36499c840b7c99e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.top3.length === 3 \u0026\u0026 sha256(row.top3.join(\u0022\\n\u0022)) === row.top3_sha256\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts, experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_13_top3_diagnostic.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be802a80aa84ca7e48ba1547f5b0aecf169fe674cfc54603e27fce2e652e145"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.variant === variant \u0026\u0026 row.stratum === stratum\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/audit_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_16_confirmation.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0203061eb5f59445f683aeb1b242b3828c79d890b65ff3b7f92edd745dc84e02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rows.length === 2 \u0026\u0026 rows[0].ordered_top20_sha256 === rows[1].ordered_top20_sha256\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/run_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_14_confirmation.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c06e731498339c500ec0043788c4db145c1e12fe89fb510284765f5a0b418e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rows.length === 2 \u0026\u0026 rows[0].shared_candidate_pool_hash === rows[1].shared_candidate_pool_hash \u0026\u0026 JSON.stringify(rows[0].shared_candidate_po\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts, experiments/version_aware_rag/scripts/v5/run_r2_9_retrieval_validation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_8_shared_pool_development.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7419273eb066e47880b912033150c325d037c10ad27edcadd986a9c917132f91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sha256(packetText) !== EXPECTED_PACKET || sha256(provisionalText) !== EXPECTED_LEDGER || !packetText.includes(\u0022Exact bulk-approval phrase: \u0060\u2026\u0060 appears character-identically in 3 files \u2014 experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts, experiments/version_aware_rag/scripts/v5/freeze_r2_16_confirmation.ts, experiments/version_aware_rag/scripts/v5/freeze_r2_20_neural_hybrid_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/freeze_r2_14_confirmation.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3152b0d153f4dfc78bd609cb42823b47fecf2215f014b2de732d726b9a9c48b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060spec.stratum === \u0022conditional_merge\u0022 || spec.stratum === \u0022compatible_history\u0022\u0060 appears character-identically in 4 files \u2014 experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_14_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_16_confirmation_annotations.ts, experiments/version_aware_rag/scripts/v5/build_r2_20_confirmation_annotations.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/build_r2_12_confirmation_annotations.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c03fd93be09df86723a462d40c84fb61a72ec1415e9f9052beafab75421494"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060summary.strata.current_only.required_micro_recall_at_3 \u003E= control.strata.current_only.required_micro_recall_at_3 \u0026\u0026 summary.strata.hard_nega\u2026\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts, experiments/version_aware_rag/scripts/v5/run_r2_15_compatible_selectivity_diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/audit_r2_15_compatible_selectivity_diagnostic.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbab9e4e6f938a519502a4600fb948bbb70c2f67212ab8267b9513981de6894"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw === \u0022object\u0022 \u0026\u0026 raw !== null \u0026\u0026 \u0022query_id\u0022 in raw\u0060 appears character-identically in 5 files \u2014 experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts, experiments/version_aware_rag/src/annotation/validate_r2_12_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_14_confirmation.ts, experiments/version_aware_rag/src/annotation/validate_r2_16_confirmation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/annotation/validate_r2_11_development.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1433eb5561503e93dc209fea5629fdbdcdcb8ccb402740fc440a5d697227d31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.output_prefix or args.provider.upper()\u0060 appears character-identically in 2 files \u2014 experiments/version_aware_rag/scripts/v6/extract_v6_antigravity_response.py, experiments/version_aware_rag/scripts/v6/import_v6_external_relation_review.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v6/extract_v6_antigravity_response.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"323f1bf8f58d901a8bf2e205ea960823d0dcd86014258a13b693354c8f00d6af"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/8 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchHtml: \u0060fetchHtml\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/mohwNews.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc0ba12f4b4297329bad6dc1e4fe2dd0e7587ceebebd7a989f09fe3d84de3a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: callLLMApi: \u0060callLLMApi\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/llm_detector.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b0dafeb01853704b8ab5873d708a04adac6ebb165a3b54e3e4b86aa51dd884"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: callLLMApi: \u0060callLLMApi\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/generation/answer_generator.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1368b9a138fc7e6ca6fce3ee265154b2f56ef9119fea105b36a1cb433e337e41"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: classify: \u0060classify\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0393a6f44741dfe9918921192516e10942b4350d1d0d35eeccdecccbd14d1635"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: classify: \u0060classify\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"80840106a0c31e806cc598d727cbcde1d7ae93a283b02ce009d0dae1d1ddc3d6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: classify: \u0060classify\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7879f3e839f768246ecbfd620cc2953e47a17ede5e8bebc798cf6a3495da94"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: verifyGeminiModel: \u0060verifyGeminiModel\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v4/verify_gemini_model.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d545e26b3e45d04af4a5e1f880990af58881997e097880c222a82c505ec0c5a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentChatRequest.message\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf56c87906876abca182f33c96959c592578425fd96ab88404df3b7b8126065b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentChatRequest.user_context\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4402916f6da84b84c4b9505d4eac5e21468eb5ed23b5a665651b0ba9e3434f3"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentChatRequest.image\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6399c5c324c9ae6ccafec9b08064b600300821d937489df271b8c36387bfac0b"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentChatRequest.model_source\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2541bcc3b7726ef5fc2a1a9ae7e754e48535021b61bfb3a94ff31061bc933a23"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060YoloScriptOutput.json_path\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b916f79bdf8b5f6af5196a4a7ab657c02402ce4db6e9f17a1bc7201082d007"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AuthRequest.state\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/discord/login.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"424cb84f19f10a5246a9de58d753962d891a220a03176ad563c0fa53827e941a"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060GeminiResponse.candidates\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/gemini.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"851dbb517b1545a28ae00c2036610ff59764ab289bb274d807aa1a9e3c95d9e9"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060GeminiContentResponse.parts\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/gemini.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"662da768705fa5d48ea58005a0986d2cf0fca26f78a1f9e5ac805643be9a7ce9"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060GeminiPartResponse.text\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/gemini.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b147d5a56c18e0f6fdb6d099f4a64c7be4b34f432c23de09dcba241305b4fea"}},{"ruleId":"X29","level":"warning","message":{"text":"Per-element action decided by a fixed element: This loop runs once per element of \u0060sorted\u0060, and the statement it guards acts on the element it is on \u2014 \u0060item\u0060. The test deciding whether that statement runs does not: \u0060chosen.length \u003E= topK\u0060 reads \u0060sorted[0]\u0060, a subscript that does not move, so whatever it answers for that one element it answers for ALL of them. One \u0060if\u0060 names the same collection at two different subscripts \u2014 the fixed one at line 107, which is the contradiction: either the test was meant to be per-element, in which case every element that differs from the fixed one is handled wrongly and all in the same direction, or it really is one answer for the whole collection, in which case it is being re-asked on every pass and belongs above the loop. The \u0060if\u0060 is in the wrong place under both readings. Give the test the loop variable, or hoist it out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/retrieval/relation_aware_pair_policy.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e6d88e34fa600055d30b04c4155ddce2335705d18068f95f86012bd74c647f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server/mohwNews.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba3dfae6565b636e3814cc7a4a4fcbe917311d933466945433c6888b47f623b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/src/versioning/detectors/cache.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23bfe8e2c5d8915420411bd9f930bf7a130ba3ae7e8055321f827439b92df27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b297eb326d84aa3f5f1cf180d3d5c7081f0cd33d8201e07a1b392a057d63c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/draft_v5_relation_second_opinion.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c96b04ab687dac1f89e2dce326e3c46bb458f8d633444037e32bd454e81193f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_codex_mined_detector_validation.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08889ba28351749aa323e2697ab6bbc95c5bdd86b3b84d78257d984dc3b833"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_development.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"647e13640286b2141f383fdd2d4867011d473df38b3b06c4e11eb5d4dd32186a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_r2_action_detector_validation.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8479d06195dc478fe7438b073d4b41a9b28e561f6c108398d1e2a613c1e489a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6906c005bbbaeb608cd0a9a4ce93d149d6983678153fdefe30a42d738f3a1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/v5/run_v5_relation_detector_development.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ee93609cc7adec989e1c3b0f22ea00ba3c2757db30e52d2cac61afb2469b04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"experiments/version_aware_rag/scripts/diagnostics/select_frozen_v3_runs.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e04de0592f5401ccc7f778890cf25b2b05da91e774f3c677ba72d8417289f3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa2920b5a6323b90aabfed5ac5b720f0b891bc2feba48014f6241c89386699d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 59 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/main.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"107263344b1c7b4db72806c6bfb5e04429bc93b00e09edfbc19a12dce23a56c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec2ccaea9ea1508fa2153808e251a5b0f821bda54e7cf56a29bab0c063f01ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5027b2f39839223466d3957cd70044ff8c2a6b55859a2c1f48db25feab6450e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b951a5b4f88f0321fe23e39c5dbc819d66bd39b4cf2047fc5da8c30aefb33a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 248 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d691d7e034dff75cb32c30683375a1ac6286f523dda06809d3269d56d6da6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 251 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4594c651435b1d0917f0ed9330d37f9702aaa2da76f88147fbd2bac32d3537"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 257 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1f5fa6fc2e00d1f43e63ef5bf64e5f924593c8e2bd31c860a1a4ab57147f56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 294 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"47234191508626927ccf49b769e02a65a1c3eae8c414b198c746757d2cb43db3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 337 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"85960b668be1264c678d774c2feac622905ca733077b61c7b2472b501670dd75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 384 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"435f194a04d02468dd29c509a8772a20ef2a3e6f9ba07e6cd4a952ebb07bbb2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 450 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"251e6582df5f7d1fc9970c43fc81fdadd4a213c84d849be33aa286a122e1d676"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 470 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67ce2c01b1f576f9135e13c4db3efa99c3a33a2677d5c1ce074bc395362d79a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 477 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/rag_worker.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dfc41bea364f1e25ee049b651b89e17256796905549f89106747ba14fc3ad4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 73 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/utils/route_control.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e1c878bd3b35e204727078f32b4b9401b7f7aefd81af2a7831770f599cdafd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 125 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd676ef6baae84c4fec77bfa46e9b5d9d5baf22fb2bac401ee259e1949fc089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 150 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c19e87f0f118e439da558fadc46b9086afadb4e128d713c84301a71cdfb437"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 231 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041d0439842eeeb5ae46c0130a344c86b68bb1b1736da2005f20f39ffe884f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"954b2d87b8f03bf0b108ba66519f10536da7c92166665bf43347ca80d3c6a867"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 290 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7c4e3d6928eda13ef379d95f4fdac9e0c9885c1f4fd7cecacca9da1dd4408f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 357 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308284c39f03a5519be63567c2987b2623443ddddbf8fe53681addd6e1829b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf98a6b18965c931eecf195fb383c5d588256ab5f2a14332b5fd401044efbe7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 463 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"dead5683242a4b4cdcd84dcbf464192922e922744580b9398287ef0ae6e6f720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 497 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f07cac858b71bcd282e8c8cd23b4008f433c38eaf4e4d33b7eb209c00846ada"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 537 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"794319276347e52af4b8b86867f95931a4e0c371d471a54f12d6a1dc29879c4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba28b6db2e7a41fe1de1a346efc411b524fd9b16a7a4c95517480fecd53f8b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 616 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"90de64e67dc62933120ecf858f274ea71ca939823f988eb3d2eb58aa55513332"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 643 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"9288c14753b2c7fac56a9ee5b19d7f8b9ad671c110834e37bb12f3fbde35c256"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 682 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/admin.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78d94e44f22b1d1160ad023726d623e1e774203d0eec4b25ccf3b16cf7d318d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 29 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_approve.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a5f97719f701165daeee9947a55044d0fab6f7075913826d843b89fd98786"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_approve.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf2ee65740af8ab6210c555162ecef08ab0a060427f2b92a1eafe9c70c77a9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 65 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_approve.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c75052139a11a339a210ca1849ccd6931157cf00edb4c88f4766e56cdc77cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 38 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742bed6eb71947c2481195e551769f2475aaccc5cf4d066e33e4d8a5fba93c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 48 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52143e469470cbf81da8e18aef5cb445ab32483f3427d696768b3e54ed2fb34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3a8304286f7d0676ff6b2a0434ed7c4476c4bc5203bc2472b2a2e19ff24a92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c87f2ad7eb29198a10954e0e0c4204a8c7d8cb5da93b739b6bc5e2418e91dfe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 120 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"590129aa9663574c84493389e31255e8cd728f8eb104be583ec1c04d28df9bda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 203 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/agent_content.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"54de0e36458845ad3b159bda7ae722781cec4cf5f1415069ae3eedcc04c61034"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/announcement.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff77ac476856ad9dbe4b4e4b31329994b5093233e69397b92778811f8d0f83d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ed8b385aee90e8a3a11c1d33e54fb05e46aa2abf50591607ced1d6439be9d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 212 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5e55ff9ecb083a5d63b0bf314d884a86a45acbebbbf7afc58c2d3603932aa6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 249 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"602402576bb8b75125e6a668cb7e2cd75e612b12a6f955df6b576a48946b65c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 268 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06cf64cd6f0826424118c33bea7ff752a546118abb941187e7fb252a057fec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 290 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f178385166f47cb8c994036d04af01e556fca18bdb2fda57ec85e836d0da65a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 81 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat_room.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e502565485e11dc4916b04c464a4541e246b549434b157077004135ec161052"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat_room.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0858e0409351e54867c46ef21600f330614aeba3099436a400f75de5f6cb113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 178 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat_room.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"485e8645b9919aa7f9915efaddc8fbcd7bbba4e984c64e119ae400ea2cc16b36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 259 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/chat_room.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f143a5a959e3790b99c0bff1a9effd108fa8746378294ca87918d033df8b16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda801c09de7343c8a5fe710a7e54da74b8cc739904c7ff2b70c9760ef87b4f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"090ed7149eefddb7af5f8a27cc5a52a39d262f13e5c0f5f2faaa740d69b5446c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb336e5027262553ab9449793ace35662ebe82acfa10d99590b24576519ae5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b8671e6271d058effb43fbb7da83ad4b0b20788d13af7a85390c31e289ca7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 337 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"051946d96ee5b3d6d3d96db808aed098fa26e57b2cfb3a00694fcc7f385a45d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 35 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet_image.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf36af4e00650a2bd569be1c59f9992ec5546dd1d955fa712770f3ca0163ec6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet_image.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"796798705bc35b7fdc298410ce2a84ae2523702434686b2adf648317a75d88fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet_image.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb3c5d7b0e673ee656f552d5105b7c4055fa2896bfcc8af0d5b7b8878d2892b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 34 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/diet_record.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0379350579eedf2f3c08871e63b5f676c9beff7f82fa761db2c181796bd9e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 21 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"728ab3c63c98968612fa76b6cf86ea6ddd1506e70d06eaba0baed43c11316352"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 45 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef55be10adce21c8b7588e4e8115853a682ad3492e00d84830191788fc8455b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 60 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b5b9177acf1f2a2e58511e5fc26c39db6acee0b133d8cae4a547540280d80e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2fca4ba8ee1402625f6b66ac5111a0c4fce42d28fe597bd5a1d1c80801448d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e7f8d4e5537ff3baf68bb9627051402d3d53a15341ffdb679ed590e2330560"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 114 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/login.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba7de49afafac6536fdf1b116656f4bea9a9402181e1f52a90af7a0e5548344"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a254097b19ed77e4cce8b7be127d6a02c689246af7d1d7dbaa30072fb879104"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 48 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94eb5574b5ba3042b1b958e1ea01463234aa7abb0d001766604ba122fdc5b2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 82 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc82a8cff292ccaa19d6ce84e87a65d1b46444eaa893ddea919c9dd2fd657c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"770daaeab097fc1fa8a18a7cc97e9c7e1df0aff6d72c919e640286d580e5edb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef69832f7d57383dcbbc8bee9d39b24cb2f7bf260d0f1ab37e61a2a8e32b72e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 161 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f1f19d905e0fede8df99401691d874fc91c07c9b6c0923863f1a76fff8a7f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 183 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14973920bc7e2c02854bee30e81c38a906a256b1f8df40fe993784730c3f2f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/rag_document.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dbd3547c98d163a3d4a64b6b6a8af5a55dbdbce347133c697bf7d30db7bb8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 28 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/record.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd987259abc585479a4f4988cd85c96bc0fb158c9e28c43cdbc97e9eb6fdb2de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 54 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/record.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fb0fc2168dad844be99519062d714c5007fa67e7d41cdb442a9cc6e1d7774b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 15 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/refresh.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"537a425677dc0c090b8f90f7a35d39d55af17b527c6e3238a2c4bd1be88d574b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 25 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/refresh.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf0eeb032fc9651cc7f864ed0e86bbf1728b811cb2cf29cc7ca640737a1edf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 36 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/refresh.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7118b0a6cde296e22e9c1c71ed3e8c38c7b4d0211af4525fb02f4eed9fed276a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 52 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/refresh.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"18350067303d05b0ea753906340f254733b411d05ba67eb03a616f218529175d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 64 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/refresh.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fdeac7e5c7ca835983ad8c6cc1826625be35b754bb68e909d0956f8853eea5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 76 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/refresh.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b229f1118449e4e118d0b80e8a2a69395112214021704aeefbf595db87d4b7ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 17 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7205a2bb2f8c5d03668e51f0f6e4e76913502c2402d2911abaa6cf153d4658d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 30 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9c7f17e02d1683ad0600c7a8a937e43e13e02db8d37c6848cfff7c02c2b59a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 40 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5f878b6c57ef522616c287e907ac1c09c8507319469804ede5305973963e58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fbdba454ff4b8ea37b4dcd7a3ee63b8cf5aaa9f7110be6be49b5f838afec2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 76 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daa30f05029bd5b7ea71f025052097e0b528e710c5e565df124b1926f460606"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e78d2c40000a22052111935d5957d03f14c10ef2d34efa2509eb3789f034b8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5b0671c47a26df00a8acbaf28d5077a185da184d54583aacdff5c3a78fe35d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/register.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16617225edb06e43e749a174955ad580056eb0881aaec54e0ce734fcee1a108"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 24 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/user.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5749805fa5354a3bab13df2111895878114e6ca0c132526f3e54e677ead728d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/api/src/api/user.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a19e16071ceb6c11202f234dcb0c50ac83a749ef9a1a8d2e0d82d12ca93c355"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.8 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 83 assertion(s) across the 46399 source line(s) of the 266 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/server/versionAwareRag.ts (11), experiments/version_aware_rag/scripts/v4/run_v4_policy_repair.ts (10), experiments/version_aware_rag/scripts/v4/run_v4_dev_model_selection.ts (6). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonArray\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/storage/sqlite/adapter.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a47bf1b49766f67f9f643609d7d0fb59664366890e86bb80c064058db7f0f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTextFileSafe\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent_skills/file_tools.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec094fcbeaaa01653a5e190153e875d354b7a8b88ba29e439f0a9918da18cf4c"}}],"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-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-91","guid":"eb6b473a-1688-dd5a-9c03-b312294e72ce","name":"XML Injection (aka Blind XPath Injection)","shortDescription":{"text":"XML Injection (aka Blind XPath Injection)"},"helpUri":"https://cwe.mitre.org/data/definitions/91.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":106,"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."]}]}